Last modified: 2013-04-19 05:25:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42462, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40462 - Category sorting broken on pt.wikipedia.org
Category sorting broken on pt.wikipedia.org
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: High critical with 2 votes (vote)
: ---
Assigned To: Faidon Liambotis
: i18n, need-unittest
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-24 01:30 UTC by Tim Starling
Modified: 2013-04-19 05:25 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Starling 2012-09-24 01:30:02 UTC
Category sorting on pt.wikipedia.org is broken due to ICU sort key interpretation changes between Lucid and Precise. I am depooling Precise appservers and job queue runners temporarily. 

"updateCollation.php --force" will have to be run from a Lucid server to fix the database.

A test case:

<https://pt.wikipedia.org/wiki/Categoria:Engenheiros_da_Alemanha>

It may fix itself if the article in question is edited.
Comment 1 Tim Starling 2012-09-24 01:53:59 UTC
I've depooled the precise appservers, stopped the precise job runners, and I've started running the script.
Comment 2 Tim Starling 2012-09-24 05:19:49 UTC
The script is finished.
Comment 3 Siebrand Mazeland 2012-09-24 09:45:14 UTC
@todo FIXME: Needs unit tests
Comment 4 Roan Kattouw 2012-09-24 16:25:32 UTC
(In reply to comment #3)
> @todo FIXME: Needs unit tests
Unit tests don't address this, necessarily. The sorting order is presumably consistent in both lucid and precise, in that Alucid sorts before Blucid and Aprecise sorts before Bprecise, it's just that Blucid sorts before Aprecise which is causing problems with a mixed-distro cluster. If something is due to interaction between two machines running different software, it's generally hard to write a unit test for it.
Comment 5 Rob Lanphier 2012-09-25 01:50:35 UTC
pt.wikipedia.org should be fixed for now, but will break again if we try to keep going with the Ubuntu Precise upgrade.

My understanding of the plan:
*  We will need to temporarily have php5-intl built against ICU 4.2 for
Precise. Faidon will build this package.
*  We deploy Precise using the custom php5-intl build.  (Peter Youngmeister)
*  We deploy stock php5-intl during a single deployment window, then rebuild the sort keys (TBD)
Comment 6 Faidon Liambotis 2012-10-02 11:57:00 UTC
This is now built and deployed in apt.

I'm leaving the ticket open, to remind us to rebuild indexes and revert that change, when all appservers are precise.
Comment 7 Helder 2012-12-17 02:26:29 UTC
(In reply to comment #6)
> ... when all appservers are precise.

Is this done?
Comment 8 Faidon Liambotis 2012-12-17 02:43:35 UTC
All appservers are precise, however we haven't reverted that change and rebuilt indexes yet.
Comment 9 Andre Klapper 2013-03-16 14:36:18 UTC
(In reply to comment #8)
> All appservers are precise, however we haven't reverted that change and
> rebuilt indexes yet.

Faidon: Is that planned?   Also wondering if fixing bug 46036 has any influence on this (as per comment 5).
Comment 10 Tim Starling 2013-04-19 05:25:00 UTC
(In reply to comment #8)
> All appservers are precise, however we haven't reverted that change and
> rebuilt indexes yet.

This was done on March 13.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links