wiki.techinc.nl/includes/Settings
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
..
Cache Use a mutex to prevent settings cache stampedes 2022-01-28 09:13:38 -08:00
Config SettingsBuilder: fix merging into globals 2022-01-24 17:35:15 +01:00
Source Support stale cached settings for failover 2022-01-21 13:31:09 -08:00
SettingsBuilder.php Reapply "SettingsBuilder: allow maintenance scripts to manipulate config" 2022-01-26 19:21:58 +00:00
SettingsBuilderException.php