wiki.techinc.nl/includes/objectcache
Aaron Schulz 6a8943d8c5 objectcache: dependency inject LoadBalancer into SqlBagOStuff
Clean up the recursive DB dependency mitigation logic by having
ServiceContainer detect recursion and throw an appropriate error.
Catch the error and use EmptyBagOStuff in such cases. This works
better than checking getQoS() since that begs the question by
requiring the cache instance to begin with.

Also add support for using different LoadBalancer instances for
local and global keys in SqlBagOStuff. This makes it easier to
share keys between projects.

Bug: T229062
Change-Id: Ib8ec1845bcf1b86cbb3bededa0ca7621a0ca293a
2020-05-18 21:04:17 -07:00
..
ObjectCache.php objectcache: dependency inject LoadBalancer into SqlBagOStuff 2020-05-18 21:04:17 -07:00
SqlBagOStuff.php objectcache: dependency inject LoadBalancer into SqlBagOStuff 2020-05-18 21:04:17 -07:00