Page MenuHomePhabricator

MediaWiki::restInPeace: transaction round 'Cognate\CacheUpdateJob::run' still running
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error

MediaWiki version: 1.36.0-wmf.10

message
MediaWiki::restInPeace: transaction round 'Cognate\CacheUpdateJob::run' still running

Impact

Notes

4 occurrences for request id 94940455-73d1-4702-ac31-ff91f1cd1a29 seen on these 4 wikis:
jawiktionary
chrwiktionary
kowiktionary
zhwiktionary

exception.class: Wikimedia\Rdbms\DBTransactionError
exception.code: 0

Details

Request ID
94940455-73d1-4702-ac31-ff91f1cd1a29
Request URL
https://jobrunner.discovery.wmnet/rpc/RunSingleJob.php
Stack Trace
exception.trace
#0 /srv/mediawiki/php-1.36.0-wmf.10/includes/MediaWiki.php(1101): Wikimedia\Rdbms\LBFactory->commitMasterChanges(string)
#1 /srv/mediawiki/rpc/RunSingleJob.php(93): MediaWiki->restInPeace()
#2 {main}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Krinkle subscribed.

I can't be sure, but it seems likely that this is causing the job to fatal and/or some part of the job updates to not have actually been committed to the DB. Might be high prio?

@Micheal @Addshore Ping for triage :) this may've been missed given its age.

Looks like this is still occurring in 1.36.0-wmf.14 too on a variety of wikis

image.png (560×1 px, 78 KB)

This cognate job just wraps a HtmlCacheUpdateJob
https://github.com/wikimedia/mediawiki-extensions-Cognate/blob/master/src/CacheUpdateJob.php#L30-L41

Nothing has changed in Cognate in a long time, so perhaps something has change in core or that job?

Can it push the job instead of running it? I make a patch for it.

Change 658549 had a related patch set uploaded (by Ladsgroup; owner: Ladsgroup):
[mediawiki/extensions/Cognate@master] Push the HTMLCacheUpdateJob instead of running it.

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

Change 658549 merged by jenkins-bot:
[mediawiki/extensions/Cognate@master] Push the HTMLCacheUpdateJob instead of running it.

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