Closed Bug 1581927 Opened 5 years ago Closed 5 years ago

locked jobs prevent other jobs from running

Categories

(Socorro :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

cronrun shouldn't block on locked jobs. If it encounters a locked job, it should skip over it and try to run other things.

Right now, it looks like locked jobs are preventing anything else from running.

This bug covers fixing that.

Let me clarify so that future me isn't annoyed at present me because I didn't include all the relevant details.

Today I did a push to production. Seems like the crontabber node was running the bugassociations job when it was killed, so it was marked as ongoing in the db. When the new crontabber node came online, it went through the available jobs to run the ones that needed running, but when it hit bugassociations, it kicked up an OngoingJobError and then halted--it should have continued through the list of jobs to try to run the other ones. Because it wasn't running any of the jobs, that kicked up an alert since there hadn't been any crontabber jobs in 2 hours.

That's the whole story.

Grabbing this to do now.

Assignee: nobody → willkg
Status: NEW → ASSIGNED

This was deployed just now in bug #1608229.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: