MediaWiki r32578 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r32577‎ | r32578 (on ViewVC)‎ | r32579 >
Date:09:48, 30 March 2008
Author:tstarling
Status:old
Tags:
Comment:
* Introduced LBFactory -- an abstract class for configuring database load balancers and connecting to foreign DBs.
* Wrote two concrete implementations. LBFactory_Simple is for general installations. LBFactory_Multi will replace the runtime configuration used on Wikimedia and allow load-balanced connections to any DB.
* Ported Special:Userrights, CentralAuth and OAI audit to the LBFactory system.
* Added ForeignDBViaLBRepo, a file repository which uses LBFactory.
* Removed $wgLoadBalancer and $wgAlternateMaster
* Improved the query group concept to allow failover and lag control
* Improved getReaderIndex(), it will now try all servers before waiting, instead of waiting after each.
* Removed the $fail parameter to getConnection(), obsolete.
* Removed the useless force() function.
* Abstracted the replication position interface to allow for future non-MySQL support.
* Rearranged Database.php. Added a few debugging features.
* Removed ancient benet-specific hack from waitForSlave.php
Modified paths:

Diff [purge]

Loading diff…

Follow-up revisions

Rev.Commit summaryAuthorDate
r32580For r32578.tstarling09:54, 30 March 2008
r43002Added database-based storage (inspired by ConfigureWMF extension):...ialex17:52, 1 November 2008
r70977Make $wgExternalBlobCache a local static variable....platonides18:25, 12 August 2010
r77147Removed LoadBalancer::getGroupIndex(): deprecated since r32578, no callersmaxsem12:27, 23 November 2010
r80841(bug 26895) in /include/db/LoadBalancer.php function "closeConnecton" should ...reedy01:00, 24 January 2011
r90435Revert the dbname -> dbName part of r90430. dbname actually dates back to r32...tstarling07:40, 20 June 2011

Status & tagging log

  • 15:25, 12 September 2011 Meno25 (Talk | contribs) changed the status of r32578 [removed: ok added: old]
Personal tools
Namespaces
Variants
Views
Actions
Site
Support
Download
Development
Communication
Toolbox