Seeing the following in the debug toolbar on action=view:
*Expectation (masterConns <= 0) by MediaWiki::main not met when using LCStoreDB*
[caches] LocalisationCache: using store LCStoreDB [...] Connected to database 0 at localhost [DBPerformance] [GET] Expectation (masterConns <= 0) by MediaWiki::main not met: [connect to localhost (core)] TransactionProfiler.php line 298 calls wfBacktrace() TransactionProfiler.php line 146 calls TransactionProfiler->reportExpectationViolated() LoadBalancer.php line 550 calls TransactionProfiler->recordConnection() SqlBagOStuff.php line 160 calls LoadBalancer->getConnection() SqlBagOStuff.php line 245 calls SqlBagOStuff->getDB() SqlBagOStuff.php line 219 calls SqlBagOStuff->getMulti() MessageCache.php line 300 calls SqlBagOStuff->get() MessageCache.php line 881 calls MessageCache->load() MessageCache.php line 800 calls MessageCache->getMsgFromNamespace() MessageCache.php line 738 calls MessageCache->getMessageFromFallbackChain() Message.php line 1075 calls MessageCache->get() Message.php line 698 calls Message->fetchMessage() Message.php line 789 calls Message->toString() OutputPage.php line 928 calls Message->text() OutputPage.php line 976 calls OutputPage->setHTMLTitle() Article.php line 512 calls OutputPage->setPageTitle() ViewAction.php line 44 calls Article->view() MediaWiki.php line 395 calls ViewAction->show() MediaWiki.php line 273 calls MediaWiki->performAction() MediaWiki.php line 565 calls MediaWiki->performRequest() MediaWiki.php line 414 calls MediaWiki->main() index.php line 46 calls MediaWiki->run() [...] DatabaseBase::query: Writes done: DELETE FROM `objectcache` WHERE keyname = 'X' [DBPerformance] [GET] Expectation (writes <= 0) by MediaWiki::main not met: query: DELETE FROM `objectcache` WHERE keyname = 'X' TransactionProfiler.php line 298 calls wfBacktrace() TransactionProfiler.php line 200 calls TransactionProfiler->reportExpectationViolated() Database.php line 1190 calls TransactionProfiler->recordQueryCompletion() Database.php line 3132 calls DatabaseBase->query() SqlBagOStuff.php line 282 calls DatabaseBase->delete() SqlBagOStuff.php line 219 calls SqlBagOStuff->getMulti() ParserCache.php line 143 calls SqlBagOStuff->get() ParserCache.php line 196 calls ParserCache->getKey() Article.php line 606 calls ParserCache->get() ViewAction.php line 44 calls Article->view() MediaWiki.php line 395 calls ViewAction->show() MediaWiki.php line 273 calls MediaWiki->performAction() MediaWiki.php line 565 calls MediaWiki->performRequest() MediaWiki.php line 414 calls MediaWiki->main() index.php line 46 calls MediaWiki->run()
Is there a way to avoid these log spam?
Similar to: