objectcache: Use a separate postgres connection in SqlBagOStuff
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 6 Jul 2017 21:13:01 +0000 (14:13 -0700)
committerKrinkle <krinklemail@gmail.com>
Thu, 6 Jul 2017 23:08:06 +0000 (23:08 +0000)
commitf24b3899e383829cce6808cd527fff7222e685c9
tree1a25b90b354f933af04eb77fb111ca524724de1d
parent68e16c26dd58afdf58a97f18f3cc76ed3b0ad9ee
objectcache: Use a separate postgres connection in SqlBagOStuff

The flags to the driver use new connections for new LBs since
fda4d46fc4f810. This makes it consistent with what we do for
MySQL already.

This should fix warnings about TransactionProfiler in objectcache,
as well as warnings about "Pending writes" in WANObjectCache.

Bug: T167946
Bug: T154424
Change-Id: I0b0d9a7210b6a3270d32df778fcc4b9918d3dcd1
includes/objectcache/SqlBagOStuff.php