Error
- service.version: 1.45.0-wmf.16
- timestamp: 2025-08-27T12:26:57.342Z
- labels.phpversion: 8.1.33
- trace.id: 13788c83-4aa9-43f2-87ae-e17988048705
- Find trace.id in Logstash
labels.normalized_message
[{reqId}] {exception_url} Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-rollback-callbacks')| Frame | Location | Call |
|---|---|---|
| from | /srv/mediawiki/php-1.45.0-wmf.16/includes/libs/rdbms/lbfactory/LBFactory.php(820) | |
| #0 | /srv/mediawiki/php-1.45.0-wmf.16/includes/libs/rdbms/lbfactory/LBFactory.php(309) | Wikimedia\Rdbms\LBFactory->assertTransactionRoundStage(string) |
| #1 | /srv/mediawiki/php-1.45.0-wmf.16/includes/MediaWikiEntryPoint.php(657) | Wikimedia\Rdbms\LBFactory->commitPrimaryChanges(string) |
| #2 | /srv/mediawiki/php-1.45.0-wmf.16/includes/MediaWiki.php(61) | MediaWiki\MediaWikiEntryPoint->restInPeace() |
| #3 | /srv/mediawiki/rpc/RunSingleJob.php(77) | MediaWiki->restInPeace() |
| #4 | {main} | |
Impact
Notes
- We see both Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-rollback') and (not 'within-rollback-callbacks')), with the same stacktrace
- Same stacktrace as old resolved T281451: Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-rollback-callbacks')
- Different codepath than currently open T348765: Wikimedia\Rdbms\DBTransactionError: Transaction round stage must be 'cursory' (not 'within-commit-callbacks') via DeferredUpdates
- Note that we also see some Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync. (T369461: UserEditCountUpdate: "Cannot execute Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks critical section while session state is out of sync" triggered from some API call initiated by Commons search / T375615: Increasing Wikimedia\Rdbms errors: "critical section while session state is out of sync") which might be unrelated