Cleanup live hack from wmf-deployment r53208 a bit: DB selection using load balancer.
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Sep 2009 22:32:30 +0000 (22:32 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 14 Sep 2009 22:32:30 +0000 (22:32 +0000)
commit506a19b7af78bcf8ad437743ee1d7b6e39d0a272
treed5005dcdf6bb38a2b4f3c7f4b7e044edc328586b
parent7764794ddbf85e75e8352a98291792013fce52f0
Cleanup live hack from wmf-deployment r53208 a bit: DB selection using load balancer.

Should fix a couple regressions or possible regressions:
* Hack was pulling the main LB's DB_SLAVE connection although we were deliberately opening a new connection. Could have caused problems when we were fetching other things from the local database in the middle of an export.
* We no longer lose the connection timeout override.

However we still have a regression:
* --server option is ignored (but we're now pulling from the 'backup' group, so we at least have some kind of consistency :)
maintenance/backup.inc