Made ReplicatedBagOStuff wrapping the SQL class the default stash
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 21 May 2015 19:05:39 +0000 (12:05 -0700)
committerKrinkle <krinklemail@gmail.com>
Wed, 24 Jun 2015 19:37:03 +0000 (19:37 +0000)
commit4825b4c08ebc1d55f6c2065cc3afe52a9b15f294
treed121977afc8d1f12c8e8e0243b183074519eb1fd
parent5bb693f6d4551623dfbb3ba7bf6060a3ce5106b1
Made ReplicatedBagOStuff wrapping the SQL class the default stash

* To make this work, a slaveOnly flag was added to SqlBagOStuff
  and it no longer prunes expired items on get(), it just treats
  them as missing. The use of garbageCollect() for the writeFactory
  cache and the use of replace() on updates already makes this
  a non-issue.
* This also makes the default $wgMainStash non-bogus.

Bug: T88493
Change-Id: I9d1f31305e08430de29a3cd521cdb10a82dffd10
includes/DefaultSettings.php
includes/objectcache/SqlBagOStuff.php