Project

Profile

Help

Issue #8442

Sync machinary doesn't properly wait for async task completion in V3 codepath.

Added by gerrod 7 months ago. Updated 5 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

In the function _read_from_downloaded_metadata , the generated tasks are not explicitly awaited using asyncio.gather. As long as those tasks don't generate child tasks this isn't an issue, but with the addition of dependency syncing these tasks will now generate new tasks that won't properly run without this gather. This is the only function that has this problem.

Associated revisions

Revision 7bde8d10 View on GitHub
Added by gerrod 7 months ago

Ensure V3 async tasks complete

fixes: #8442 https://pulp.plan.io/issues/8442

Revision 6e28a5b9 View on GitHub
Added by gerrod 6 months ago

Ensure V3 async tasks complete

fixes: #8442 https://pulp.plan.io/issues/8442 (cherry picked from commit 7bde8d10e96c8089127448ffa5dec873fdc0a0c5)

History

#1 Updated by pulpbot 7 months ago

  • Status changed from NEW to POST

#2 Updated by gerrod 7 months ago

  • Status changed from POST to MODIFIED

#4 Updated by fao89 5 months ago

  • Sprint/Milestone set to 0.8.0

#5 Updated by fao89 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF