Page MenuHomePhabricator

Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-rollback')
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-rollback')
exception.trace
from /srv/mediawiki/php-1.39.0-wmf.27/includes/libs/rdbms/lbfactory/LBFactory.php(911)
#0 /srv/mediawiki/php-1.39.0-wmf.27/includes/libs/rdbms/lbfactory/LBFactory.php(389): Wikimedia\Rdbms\LBFactory->assertTransactionRoundStage(string)
#1 /srv/mediawiki/php-1.39.0-wmf.27/includes/MediaWiki.php(1091): Wikimedia\Rdbms\LBFactory->commitPrimaryChanges(string)
#2 /srv/mediawiki/rpc/RunSingleJob.php(94): MediaWiki->restInPeace()
#3 {main}
Impact
Notes

Details

Request URL
https://jobrunner.discovery.wmnet/rpc/RunSingleJob.php

Related Objects

Event Timeline

thcipriani subscribed.

We should dig in a bit here to see if we can find what code triggered this or what request and try to tag a team. I worry this one will languish without that.

This was (probably) caused by the deploy of a DiscussionTools mediawiki-config patch for T315353: Create database tables for permalinks in production wikis, and enable the feature — it was reverted as described in T315353#8218914, and two other related tasks (T317236, T317237) were filed.

I probably just filed everything I saw, and this could well be resolved/closed as a dupe?

Yes, this should also be fixed. As far as I know all of the different errors were just caused by having a transaction take too long. I didn't notice this task before.