Support async writes to secondary MultiWriteBagOStuff stores
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 21 Aug 2015 06:53:52 +0000 (23:53 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 19 Sep 2015 04:35:43 +0000 (21:35 -0700)
commitfd8e85fc2d48442f137fd25baa12bf47cce3851f
treed4572170f8fd9cf6282bf2c2c4832143757d9109
parentf8659ae6ea90d7bc8ce28bfc1caa56153878836f
Support async writes to secondary MultiWriteBagOStuff stores

* This is useful for ParserCache, as it tries to focus on memcached
  and use other caches (e.g. mariadb) for the long-tail of less used
  content, as setup on WMF. The class uses BagOStuff in a way that is
  compatible with this approach.

Bug: T109751
Change-Id: Ia64eb44a9b52a988fde27b468d604d9163bed4b4
includes/objectcache/MultiWriteBagOStuff.php
includes/parser/ParserCache.php
tests/phpunit/includes/objectcache/MultiWriteBagOStuffTest.php [new file with mode: 0644]