objectcache: add WANObjectCacheReaper for assuring purges
commit2e5eb693de627ef0503d380429b8c042a50f1b1b
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 3 Sep 2016 04:43:16 +0000 (2 21:43 -0700)
committerTim Starling <tstarling@wikimedia.org>
Fri, 27 Jan 2017 02:21:06 +0000 (27 02:21 +0000)
tree7633d92f2a32c04f8525603ee9c2fb0eefc8393d
parente191d4e91388144a4fbeb53ec6b7702350e4083e
objectcache: add WANObjectCacheReaper for assuring purges

* This fixes keys based on some sort of change log.
  Updates are wrapped in a mutex and keep track of the
  last known good position.
* Make WANObjectReapUpdate class that cleans up title
  related keys using the recentchanges table. This triggers
  as a deferred updates on RC view.

Change-Id: I7f14b9ca2533032147e62b1a3cc004a23da86579
autoload.php
includes/DefaultSettings.php
includes/cache/LinkCache.php
includes/deferred/WANCacheReapUpdate.php [new file with mode: 0644]
includes/filerepo/file/LocalFile.php
includes/libs/objectcache/WANObjectCache.php
includes/libs/objectcache/WANObjectCacheReaper.php [new file with mode: 0644]
includes/page/WikiPage.php
includes/specialpage/ChangesListSpecialPage.php
includes/user/User.php
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php