wiki.techinc.nl/tests/phpunit/unit/includes/Settings/Cache
Dan Duvall aae7c326ef Use a mutex to prevent settings cache stampedes
There are cases where probabilistic early expiry is not enough to
prevent cache stampedes, most notably during a cold start/restart where
the cache is not yet populated and during conditions where source I/O
wait times may exceed the possible range of early expiry offset.

To completely prevent cache stampedes from occurring, a mutex must be
used around settings (re)caching.

Early expiry is left in place as it should still be quite effective in
reducing cache lock contention.

Bug: T296771
Change-Id: I99676466ce1ad4f1622867158d2ed15ef9202ec2
2022-01-28 09:13:38 -08:00
..
CachedSourceTest.php Use a mutex to prevent settings cache stampedes 2022-01-28 09:13:38 -08:00