Last modified: 2013-03-27 16:32:46 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 T47997, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45997 - Oldest-first mode for dispatchChanges script.
Oldest-first mode for dispatchChanges script.
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Highest normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks: 45600
  Show dependency treegraph
 
Reported: 2013-03-11 20:34 UTC by Daniel Kinzler
Modified: 2013-03-27 16:32 UTC (History)
4 users (show)

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


Attachments

Description Daniel Kinzler 2013-03-11 20:34:05 UTC
For each dispatch pass, dispatchChanges.php currently picks a target wiki at random. This may cause some targets not to be updated for a long time (or, in theory, ever). 

To avoid this, dispatchChanges.php should have a mode that picks the oldest (least recently updated) target wiki for each pass, trying to keep all targets up top date.

Note that it would not be a good idea to just use that mode always, since it is brittle against failure: if dispatching to a specific target fails in an unexpected way, the next pass would try that target again (since it was not updated), and again and again, never trying any other target again.
Comment 1 Daniel Kinzler 2013-03-22 08:55:40 UTC
patch Ibae269e72
Comment 2 abraham.taherivand 2013-03-27 16:32:46 UTC
Verified in Wikidata demo sprint 35-3

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


Navigation
Links