Page MenuHomePhabricator

Fix "Transaction round stage must be 'cursory' (not 'within-rollback')" from LBFactory/DeferredUpdates
Closed, DuplicatePublicPRODUCTION ERROR

Description

[W5FwhApAAE0AACFy-uoAAACX] /w/api.php?format=xml Wikimedia\Rdbms\DBTransactionError from line 706 of /srv/mediawiki/php-1.32.0-wmf.20/includes/libs/rdbms/lbfactory/LBFactory.php: Transaction round stage must be 'cursory' (not 'within-rollback')

AWWwH4eno1GdFyIEUXcd

#0 /srv/mediawiki/php-1.32.0-wmf.20/includes/libs/rdbms/lbfactory/LBFactory.php(236): Wikimedia\Rdbms\LBFactory->assertTransactionRoundStage(string)
#1 /srv/mediawiki/php-1.32.0-wmf.20/includes/deferred/DeferredUpdates.php(267): Wikimedia\Rdbms\LBFactory->beginMasterChanges(string)
#2 /srv/mediawiki/php-1.32.0-wmf.20/includes/deferred/DeferredUpdates.php(226): DeferredUpdates::runUpdate(AutoCommitUpdate, Wikimedia\Rdbms\LBFactoryMulti, string, integer)
#3 /srv/mediawiki/php-1.32.0-wmf.20/includes/deferred/DeferredUpdates.php(134): DeferredUpdates::execute(array, string, integer)
#4 /srv/mediawiki/php-1.32.0-wmf.20/includes/MediaWiki.php(914): DeferredUpdates::doUpdates(string)
#5 /srv/mediawiki/php-1.32.0-wmf.20/includes/MediaWiki.php(734): MediaWiki->restInPeace(string, boolean)
#6 [internal function]: Closure$MediaWiki::doPostOutputShutdown()
#7 {main}