Closed Bug 1308224 Opened 8 years ago Closed 7 years ago

[generic-worker] Monitor spot termination endpoint to proactively handle spot kills

Categories

(Taskcluster :: Workers, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1180187

People

(Reporter: garndt, Unassigned)

References

Details

AWS provides an endpoint that will allow an instance to know 2 minutes ahead of time if the instance will be spot killed.

Hopefully this is enough time for a task to be aborted and resolved as "worker-shutdown" so another worker can claim it.

Also, before stopping anything, the worker should halt claiming any additional tasks to prevent tasks being claimed as its shutting down.

If a worker does not do this and is shutdown unexpectedly, a task run will be marked as "claim-expired" once the reclaim interval has passed.
Blocks: 1307803
This bug has been added to the Windows 7 migration plan smartsheet.
Component: Worker → Generic-Worker
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Component: Generic-Worker → Workers
You need to log in before you can comment on or make changes to this bug.