Actions
Issue #6498
closedorphan cleanup does not prevent other tasks from starting after it starts running
Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Orphan clean up task is dispatched without reservations[0]. This creates a race condition between orphan_cleanup and repository version creation tasks.
[0] https://github.com/pulp/pulpcore/blob/master/pulpcore/app/views/orphans.py#L20
Updated by dkliban@redhat.com over 3 years ago
- Status changed from NEW to CLOSED - WORKSFORME
I was not able to actually reproduce this race condition. The resource manager executes the orphan cleanup task and does not handle any other tasks until orphan cleanup is done.
Actions