Error
- mwversion: 1.40.0-wmf.19
- reqId: cd132d4a-15b8-41cb-9a2b-9e0ceb7a69d1
- Find reqId in Logstash
[{reqId}] {exception_url} Wikimedia\Rdbms\DBUnexpectedError: Cannot execute Wikimedia\Rdbms\Database::selectDomain critical section while session state is out of sync. A critical section from Wikimedia\Rdbms\Database::executeQuery has failed #0 /srv/me
from /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/database/Database.php(3390) #0 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/database/Database.php(1779): Wikimedia\Rdbms\Database->commenceCriticalSection(string) #1 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1077): Wikimedia\Rdbms\Database->selectDomain(Wikimedia\Rdbms\DatabaseDomain) #2 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/loadbalancer/LoadBalancer.php(935): Wikimedia\Rdbms\LoadBalancer->reuseOrOpenConnectionForNewRef(integer, Wikimedia\Rdbms\DatabaseDomain, integer) #3 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/loadbalancer/LoadBalancer.php(912): Wikimedia\Rdbms\LoadBalancer->getServerConnection(integer, string, integer) #4 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/database/DBConnRef.php(103): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal(integer, array, string, integer) #5 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/database/DBConnRef.php(117): Wikimedia\Rdbms\DBConnRef->ensureConnection() #6 /srv/mediawiki/php-1.40.0-wmf.19/includes/libs/rdbms/database/DBConnRef.php(698): Wikimedia\Rdbms\DBConnRef->__call(string, array) #7 /srv/mediawiki/php-1.40.0-wmf.19/includes/Revision/RevisionStore.php(2699): Wikimedia\Rdbms\DBConnRef->timestamp(string) #8 /srv/mediawiki/php-1.40.0-wmf.19/includes/Revision/RevisionStore.php(2732): MediaWiki\Revision\RevisionStore->getRelativeRevision(MediaWiki\Revision\RevisionStoreRecord, integer, string) #9 /srv/mediawiki/php-1.40.0-wmf.19/extensions/Echo/includes/DiscussionParser.php(34): MediaWiki\Revision\RevisionStore->getPreviousRevision(MediaWiki\Revision\RevisionStoreRecord) #10 /srv/mediawiki/php-1.40.0-wmf.19/extensions/Echo/includes/Hooks.php(659): EchoDiscussionParser::generateEventsForRevision(MediaWiki\Revision\RevisionStoreRecord, boolean) #11 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/MWCallableUpdate.php(38): MediaWiki\Extension\Notifications\Hooks::MediaWiki\Extension\Notifications\{closure}() #12 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/DeferredUpdates.php(473): MWCallableUpdate->doUpdate() #13 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/DeferredUpdates.php(398): DeferredUpdates::attemptUpdate(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti) #14 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/DeferredUpdates.php(213): DeferredUpdates::run(MWCallableUpdate, Wikimedia\Rdbms\LBFactoryMulti, Monolog\Logger, BufferingStatsdDataFactory, MediaWiki\JobQueue\JobQueueGroupFactory, string) #15 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/DeferredUpdatesScope.php(267): DeferredUpdates::{closure}(MWCallableUpdate, integer) #16 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/DeferredUpdatesScope.php(196): DeferredUpdatesScope->processStageQueue(integer, integer, Closure) #17 /srv/mediawiki/php-1.40.0-wmf.19/includes/deferred/DeferredUpdates.php(234): DeferredUpdatesScope->processUpdates(integer, Closure) #18 /srv/mediawiki/php-1.40.0-wmf.19/includes/MediaWiki.php(1115): DeferredUpdates::doUpdates() #19 /srv/mediawiki/php-1.40.0-wmf.19/includes/MediaWiki.php(846): MediaWiki->restInPeace() #20 /srv/mediawiki/php-1.40.0-wmf.19/api.php(125): MediaWiki->doPostOutputShutdown() #21 /srv/mediawiki/php-1.40.0-wmf.19/api.php(45): wfApiMain() #22 /srv/mediawiki/w/api.php(3): require(string) #23 {main}
Impact
Unclear.
Notes
~160 of these in the last 2 weeks, seems to have increased somewhat in 1.40.0-wmf.19, although that may be coincidental.