Project

Profile

Help

Issue #533

closed

TaskStatus.queue attribute should be renamed to TaskStatus.worker_name

Added by bmbouter about 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.6.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Recently, the dispatch style of apply_async was changed to use routing_key instead of queue for tasks that require reservation and are sent to a specific worker. We use that field for cancellation purposes in case all tasks sent to a given worker need to be cancelled.

The routing_key we use is the name of the worker, so we no longer need to track the queue, but we do need to track the worker's name. The cancel should be updated to find TaskStatus documents to cancel by worker name.

+ This bug was cloned from Bugzilla Bug #1144501 +

Also available in: Atom PDF