docker-worker: Harden shutdown logic to be less likely to claim tasks while shutting down.

RESOLVED FIXED

Status

Taskcluster
Docker-Worker
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: lightsofapollo, Assigned: lightsofapollo)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
There have been multiple occurrences where docker-worker is idle so we immediately trigger the shutdown logic (because we are in a shutdown time) while the shutdown logic is running we receive a message and claim the task (then the worker is actually shutdown and we die!).
(Assignee)

Updated

3 years ago
Assignee: nobody → jlal
Status: NEW → ASSIGNED
(Assignee)

Comment 3

3 years ago
https://github.com/taskcluster/docker-worker/commit/231c3e253142701e4598ca8f63559f11168fecd4
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
Component: TaskCluster → Docker-Worker
Product: Testing → Taskcluster
You need to log in before you can comment on or make changes to this bug.