Page MenuHomePhabricator

Wikibase\Client\Usage\Sql\SqlSubscriptionManager::subscribe: Expected mass rollback of all peer transactions (DBO_TRX set)
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.11

message
Wikibase\Client\Usage\Sql\SqlSubscriptionManager::subscribe: Expected mass rollback of all peer transactions (DBO_TRX set)

Impact

There was some database lag around this time, unclear if this is related. User impact also unclear (to me).

Notes

Details

Request ID
b90faf19-b004-481b-9a04-767046afeb9b
Request URL
https://jobrunner.discovery.wmnet/rpc/RunSingleJob.php
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.36.0-wmf.11/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->rollback(string)
#1 /srv/mediawiki/php-1.36.0-wmf.11/includes/libs/rdbms/database/DBConnRef.php(653): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#2 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/client/includes/Usage/Sql/SqlSubscriptionManager.php(70): Wikimedia\Rdbms\DBConnRef->rollback(string)
#3 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/client/includes/Store/UsageUpdater.php(86): Wikibase\Client\Usage\Sql\SqlSubscriptionManager->subscribe(string, array)
#4 /srv/mediawiki/php-1.36.0-wmf.11/extensions/Wikibase/client/includes/Store/AddUsagesForPageJob.php(122): Wikibase\Client\Store\UsageUpdater->addUsagesForPage(integer, array)
#5 /srv/mediawiki/php-1.36.0-wmf.11/extensions/EventBus/includes/JobExecutor.php(79): Wikibase\Client\Store\AddUsagesForPageJob->run()
#6 /srv/mediawiki/rpc/RunSingleJob.php(76): MediaWiki\Extension\EventBus\JobExecutor->execute(array)
#7 {main}

Event Timeline

Ottomata removed a project: Analytics.
Ottomata added a subscriber: Ottomata.

Hm, is there a reason Analytics was tagged? Looks like a JobQueue error? Removing analytics, feel free to re-add if needed.

Change 657619 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Wikibase@master] Do not catch DBError in SqlSubscriptionManager

https://gerrit.wikimedia.org/r/657619

Change 657619 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] Do not catch DBError in SqlSubscriptionManager

https://gerrit.wikimedia.org/r/657619

It doesn't show up in the logstash anymore.