Project

Profile

Help

Task #6773

Document in plugin writer guide tasks are not safe to wait on other tasks

Added by bmbouter 3 months ago. Updated 3 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:

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:

  1. Task foo starts running
  2. Task foo dispatches task bar
  3. Task bar never starts because Task foo never finishes and there is only one worker
  4. despair

Solution

Document a new section named "tasks waiting on tasks" in the plugin writer's guide Tasks section here. It should document this.

History

#1 Updated by fao89 3 months ago

  • Tracker changed from Issue to Task
  • % Done set to 0

Please register to edit this issue

Also available in: Atom PDF