Project

Profile

Help

Maintenance. Planio will be undergoing a scheduled maintenance this weekend. Between Saturday, July 24 at 9:00 UTC and Sunday, July 25, 22:00 UTC your account might observe occasional downtimes which may last up to several minutes in some cases.

Story #8930

Task #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

Added by mdellweg about 1 month ago. Updated 17 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
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.

Associated revisions

Revision 58873f3c View on GitHub
Added by mdellweg 24 days ago

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

History

#1 Updated by mdellweg about 1 month ago

  • Tracker changed from Task to Story

#2 Updated by pulpbot about 1 month ago

  • Status changed from NEW to POST

#3 Updated by mdellweg about 1 month ago

  • Sprint/Milestone set to 3.14.0

#4 Updated by bmbouter 29 days ago

  • Assignee set to mdellweg

#5 Updated by mdellweg 24 days ago

  • Sprint set to Sprint 99

#6 Updated by mdellweg 24 days ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#7 Updated by pulpbot 22 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#8 Updated by bmbouter 17 days ago

  • Parent task set to #8495

Please register to edit this issue

Also available in: Atom PDF