Task #6773
Document in plugin writer guide tasks are not safe to wait on other tasks
Status:
NEW
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
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.
Please register to edit this issue