Cleanups to SqlBagOStuff
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 24 Aug 2016 21:02:15 +0000 (14:02 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 25 Aug 2016 02:38:14 +0000 (19:38 -0700)
commitc387e5cd84f1b7dfac68327714815197fd32e773
tree659b56e5a359bf6d1f855fa9a46b1023790d79b6
parent6675d682197ea3b8ac5f3bcea3b89d9ada416bed
Cleanups to SqlBagOStuff

* Keep track of the custom LoadBalancer when it makes one.
* Use the custom LoadBalancer to wait for slaves if one
  was used, rather than the main singleton.
* Only wait on the slaves in the LoadBalancer if the
  main DBs are being used.

Change-Id: I11de814306c44f27e0c33b08b5921c0fd4cdc24f
includes/objectcache/SqlBagOStuff.php