Actions
Story #8930
closedTask #8495: [EPIC] As a user, I have a new-improved tasking system with new-style workers
As system admin i can gracefully shutdown new style workers
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 99
Quarter:
Description
New style workers should mark themselves as offline in the database if shut down. Also on receiving a signal to shut down, the worker should wait for a small amount of time (1-30 s) until it's currently running task finishes before aborting it.
Updated by pulpbot over 3 years ago
- Status changed from NEW to POST
Added by mdellweg over 3 years ago
Updated by mdellweg over 3 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|58873f3c80fa6cc3931b5b6591b9e856ff98581b.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Graceful worker shutdown
When a worker receives a SIGINT (ctrl-c) or SIGTERM (systemd), it will wait a bit for it's task to finish before aborting it and removing itself from the worker table.
fixes #8930 https://pulp.plan.io/issues/8930