objectcache: add BagOStuff::deleteMulti() method for consistency
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 12 Mar 2019 07:38:56 +0000 (00:38 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 14 Mar 2019 23:12:30 +0000 (23:12 +0000)
commite2b03d5d30a8a6c62569a336622b865f47e148d0
treec819ce3dea144d2224de49ab07ac301f344af522
parentfa0fe8d2940b71950f82f2303acd3a3717b51389
objectcache: add BagOStuff::deleteMulti() method for consistency

Also:
* Make the BagOStuff tests actually pass for memcached and sql
* Add more unit tests for BagOStuff
* Make SqlBagOStuff::add() more atomic

Change-Id: Ic1eec0990a66b595b57c646498c3bd229442230c
includes/libs/objectcache/BagOStuff.php
includes/libs/objectcache/RedisBagOStuff.php
includes/libs/objectcache/ReplicatedBagOStuff.php
includes/objectcache/SqlBagOStuff.php
tests/phpunit/includes/libs/objectcache/BagOStuffTest.php