Actions
Issue #7497
closedI can't see the reserved resource records from the moment they are dispatched
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 81
Quarter:
Description
Use case¶
Say you dispatch N repo sync's every 6 hours, where N is large > 500 repos. Then say the server's Pulp is syncing from are temporarily slow, so they tasks are backing up enough that another "set" of sync's are dispatched. The user would like to cancel enough sync's so that for each repository there is only one, but they cannot know which ones to cancel because the reserved_resource_records field is not yet set.
The issue¶
The records are being created in the resource_manager here but they should be created in the enqueue_with_reservation
function when the task record itself is created.
Implementation¶
Related issues
Actions
Setting the reserved resource record when creating the task
fixes #7497