Project

Profile

Help

Story #19

closed

As a user, I can scale down my Celery workers without cancelling tasks

Added by Anonymous almost 10 years ago. Updated over 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Currently, Pulp waits 5 minutes after noticing that a worker has gone missing, and then cancels all the tasks that were in its queue. It would be nicer if Pulp would automatically reassign all of those tasks to other workers when a worker is shutdown. It would also be nice if the system didn't have to wait five minutes to do this.Deliverables:Register workers for the shutdown signal, and make a handler that queues a task to mark that worker as missingRework the missing worker task to reassign queues rather than cancel their tasks.Such queues get deleted when drained

Also available in: Atom PDF