Project

Profile

Help

Issue #8442

closed

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

Added by gerrod over 1 year ago. Updated over 1 year 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.

Actions #1

Updated by pulpbot over 1 year ago

  • Status changed from NEW to POST

Added by gerrod over 1 year ago

Revision 7bde8d10

Ensure V3 async tasks complete

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

Actions #2

Updated by gerrod over 1 year ago

  • Status changed from POST to MODIFIED

Added by gerrod over 1 year ago

Revision 6e28a5b9

Ensure V3 async tasks complete

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

Actions #4

Updated by fao89 over 1 year ago

  • Sprint/Milestone set to 0.8.0
Actions #5

Updated by fao89 over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF