LoadBalancer::getLaggedSlaveMode needs to know about the wiki
authorMarius Hoch <hoo@online.de>
Tue, 13 Oct 2015 20:50:47 +0000 (22:50 +0200)
committerMarius Hoch <hoo@online.de>
Tue, 13 Oct 2015 20:54:42 +0000 (22:54 +0200)
commite2d1c2f06c7fd5e7564f2bc788ea3d7ffc5a7edd
tree5b73b524f948489bdc5208a2158ab96dfe44b26a
parent0d4234979e4d158b1425e8931fd4e5e6474d00e8
LoadBalancer::getLaggedSlaveMode needs to know about the wiki

If not asked for the current wiki.

This is relevant in setups with LBFactoryMulti where one LoadBalancer
only knows about some database servers and not necessarily about the
ones of the current wiki, but we still try to open a connection with
the current wiki database.

Change-Id: Ie6a87c587c68df6380e568a16c57f7a05ec084f6
includes/db/loadbalancer/LoadBalancer.php