Project

Profile

Help

Issue #5674

closed

All import tasks are assigned to the same worker

Added by osapryki over 4 years ago. Updated over 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulp_ansible/700":https://github.com/pulp/pulp_ansible/issues/700


Task `import_collection` now uses resource reservation. It reserves two resources: an artifact and a related repository.
When scheduling a task, the resource manager assigns task that has a resource reservations on a worker that runs a task with any of requested reservations. This causes the following side effect:

Because repository is a global object, all tasks related to that repository are always run sequentially due to being assigned on the same worker.

Also available in: Atom PDF