Page MenuHomePhabricator

Master connection on GET via Flow\TalkpageManager::getTalkpageManager --> CentralAuthUser::exists
Open, MediumPublicPRODUCTION ERROR

Description

Error
normalized_message
Expectation (masterConns <=) 0 by MediaWiki::restInPeace not met (actual: {actual}):
{query}
exception.trace
from /srv/mediawiki/php-1.37.0-wmf.1/includes/libs/rdbms/TransactionProfiler.php(432)
#0 /srv/mediawiki/php-1.37.0-wmf.1/includes/libs/rdbms/TransactionProfiler.php(212): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated(string, string, integer)
#1 /srv/mediawiki/php-1.37.0-wmf.1/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1008): Wikimedia\Rdbms\TransactionProfiler->recordConnection(string, string, boolean)
#2 /srv/mediawiki/php-1.37.0-wmf.1/includes/libs/rdbms/loadbalancer/LoadBalancer.php(962): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer)
#3 /srv/mediawiki/php-1.37.0-wmf.1/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1101): Wikimedia\Rdbms\LoadBalancer->getConnection(integer, array, string, integer)
#4 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUtilityService.php(110): Wikimedia\Rdbms\LoadBalancer->getConnectionRef(integer, array, string)
#5 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUtils.php(36): CentralAuthUtilityService->getCentralDB()
#6 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUser.php(273): CentralAuthUtils::getCentralDB()
#7 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUser.php(485): CentralAuthUser->getSafeReadDB()
#8 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUser.php(419): CentralAuthUser->loadFromDatabase()
#9 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUser.php(605): CentralAuthUser->loadState()
#10 /srv/mediawiki/php-1.37.0-wmf.1/extensions/CentralAuth/includes/CentralAuthUser.php(702): CentralAuthUser->getId()
#11 /srv/mediawiki/php-1.37.0-wmf.1/extensions/Flow/includes/TalkpageManager.php(185): CentralAuthUser->exists()
#12 /srv/mediawiki/php-1.37.0-wmf.1/extensions/Flow/container.php(708): Flow\TalkpageManager->getTalkpageManager()
#13 /srv/mediawiki/php-1.37.0-wmf.1/vendor/pimple/pimple/src/Pimple/Container.php(118): Flow\Container::{closure}(Flow\Container)
#14 /srv/mediawiki/php-1.37.0-wmf.1/extensions/Flow/includes/Container.php(46): Pimple\Container->offsetGet(string)
#15 /srv/mediawiki/php-1.37.0-wmf.1/extensions/Flow/includes/Hooks.php(1814): Flow\Container::get(string)
#16 /srv/mediawiki/php-1.37.0-wmf.1/includes/HookContainer/HookContainer.php(330): Flow\Hooks::onUserSaveOptions(User, array, array)
#17 /srv/mediawiki/php-1.37.0-wmf.1/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#18 /srv/mediawiki/php-1.37.0-wmf.1/includes/HookContainer/HookRunner.php(4480): MediaWiki\HookContainer\HookContainer->run(string, array)
#19 /srv/mediawiki/php-1.37.0-wmf.1/includes/user/UserOptionsManager.php(397): MediaWiki\HookContainer\HookRunner->onUserSaveOptions(User, array, array)
#20 /srv/mediawiki/php-1.37.0-wmf.1/includes/user/User.php(3479): MediaWiki\User\UserOptionsManager->saveOptions(User)
#21 /srv/mediawiki/php-1.37.0-wmf.1/extensions/BetaFeatures/includes/Hooks.php(317): User->saveSettings()
#22 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/MWCallableUpdate.php(38): MediaWiki\Extension\BetaFeatures\Hooks::MediaWiki\Extension\BetaFeatures\{closure}()
#23 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(513): MWCallableUpdate->doUpdate()
#24 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(390): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti)
#25 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(221): DeferredUpdates::run(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, string)
#26 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdatesScope.php(267): DeferredUpdates::{closure}(MWCallableUpdate, integer)
#27 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdatesScope.php(196): DeferredUpdatesScope->processStageQueue(integer, integer, Closure)
#28 /srv/mediawiki/php-1.37.0-wmf.1/includes/deferred/DeferredUpdates.php(242): DeferredUpdatesScope->processUpdates(integer, Closure)
#29 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(1132): DeferredUpdates::doUpdates(string)
#30 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(837): MediaWiki->restInPeace()
#31 /srv/mediawiki/php-1.37.0-wmf.1/includes/MediaWiki.php(575): MediaWiki->doPostOutputShutdown()
#32 /srv/mediawiki/php-1.37.0-wmf.1/index.php(53): MediaWiki->run()
#33 /srv/mediawiki/php-1.37.0-wmf.1/index.php(46): wfIndexMain()
#34 /srv/mediawiki/w/index.php(3): require(string)
#35 {main}
Impact

Logstash query - 27 in a day

Performance warning, no user-visible impact.

Notes

Details

Request URL
https://el.wikipedia.org/wiki/%CE%95%CE%B9%CE%B4%CE%B9%CE%BA%CF%8C:%CE%A0%CF%81%CE%BF%CF%84%CE%B9%CE%BC%CE%AE%CF%83%CE%B5%CE%B9%CF%82

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

The TalkPageManager uses CentralAuthUser::getMasterInstance() so this is a Flow issue.

kostajh triaged this task as Medium priority.May 4 2021, 1:46 PM
kostajh moved this task from Inbox to Triaged on the Growth-Team board.