Page MenuHomePhabricator

Retry submitting processMediaModeration jobs
Closed, ResolvedPublic4 Estimated Story Points

Description

processMediaModeration maintenance script sometimes fails on submitting the jobs. The jobs are submitted over HTTP, so it's no wonder it fails. We need to wrap JobQueueGroup::push with try-catch, catch the JobQueueError, retry a few times, log and keep going.

Event Timeline

Vlad.shapik set the point value for this task to 4.Dec 9 2020, 6:34 PM

Change 647713 had a related patch set uploaded (by Vlad.shapik; owner: Vlad.shapik):
[mediawiki/extensions/MediaModeration@master] ModerateExistingFilesHelper: retry submitting processMediaModeration jobs

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

Change 647713 merged by jenkins-bot:
[mediawiki/extensions/MediaModeration@master] ModerateExistingFilesHelper: retry submitting processMediaModeration jobs

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

eprodromou added a subscriber: eprodromou.

Looks like it's merged; all good here.