wiki.techinc.nl/tests/phpunit/includes/objectcache
Tim Starling dcb784311b Fix infinite recursion in DBLoadBalancerFactoryConfigBuilder service
When $wgMainCache is CACHE_ANYTHING, recursion proceeds via
LoadBalancer::isPrimaryRunningReadOnly() until the DB server hits its
maximum connection limit. The try/catch blocks in ServiceWiring were no
longer effectively preventing this.

So, inspect the configuration to detect whether the main cache type will
be CACHE_DB, without actually instantiating it.

Bug: T334970
Change-Id: Ibdbc19c45eb20bb85df720669f7ce1d50e3656ff
2023-05-03 13:39:44 +10:00
..
ObjectCacheTest.php Fix infinite recursion in DBLoadBalancerFactoryConfigBuilder service 2023-05-03 13:39:44 +10:00
SqlBagOStuffIntegrationTest.php
SqlBagOStuffMultiPrimaryIntegrationTest.php SqlBagOStuff: Fix modtoken comparison 2022-08-19 11:11:58 +10:00
SqlBagOStuffServerArrayTest.php rdbms: Rename internal ServerInfoHolder to ServerInfo 2023-03-07 23:36:39 +00:00