Last modified: 2011-09-21 13:14:34 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 T33052, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31052 - external store database access should set mAllowLagged for all but the current external store db
external store database access should set mAllowLagged for all but the curren...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-21 00:59 UTC by Ben Hartshorne
Modified: 2011-09-21 13:14 UTC (History)
2 users (show)

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


Attachments

Description Ben Hartshorne 2011-09-21 00:59:29 UTC
The externalLoads array (in db.php) specifies a number of clusters that hold external store data.  Only one of those clusters (set by wgDefaultExternalStore) accepts writes. For all the others, they are static read only databases, and replication lag should not matter.  When accessing those clusters, the mAllowLagged flag should be set in the LoadBalancer class object.
Comment 1 Asher Feldman 2011-09-21 01:12:59 UTC
Live hack fix in place for this via http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97687

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


Navigation
Links