objectcache: add "epoch" parameter to WANObjectCache
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 11 Jul 2018 21:29:51 +0000 (22:29 +0100)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 6 Aug 2018 23:43:50 +0000 (16:43 -0700)
commit4af7fbd76a50c1c578f2af2c9a779cf1db35c3cd
tree9f06fe043bba1b8a5a26fa7831ab07e297ae1e9a
parent56d45558b102349f3480a46819669407aa3be2d6
objectcache: add "epoch" parameter to WANObjectCache

This can be used to discard all values before a certain point in
time, such as periods of severe network problems or misconfiguration
that resulted in missed purges.

Change-Id: I612db8f91a5960b912e9f35645a3d3872df47460
includes/libs/objectcache/WANObjectCache.php
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php