Actions
Task #6773
closedDocument in plugin writer guide tasks are not safe to wait on other tasks
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulpcore/1896":https://github.com/pulp/pulpcore/issues/1896
Background¶
Pulp architecturally cannot have a task that waits on another task, otherwise on systems where only 1 pulp worker is running Pulp will deadlock. Pulp workers only work on one task at a time, so here is the deadlock example:
- Task foo starts running
- Task foo dispatches task bar
- Task bar never starts because Task foo never finishes and there is only one worker
- despair
Solution¶
Document a new section named "tasks waiting on tasks" in the plugin writer's guide Tasks section here. It should document this.
Updated by fao89 almost 3 years ago
- Tracker changed from Issue to Task
- % Done set to 0
Updated by pulpbot about 1 year ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE
Actions