HomePhabricator

Made ReplicatedBagOStuff wrapping the SQL class the default stash

Authored by aaron.

Description

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