Project

Profile

Help

Issue #8442

closed

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

Added by gerrod about 3 years ago. Updated almost 3 years 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 about 3 years ago

  • Status changed from NEW to POST

Added by gerrod about 3 years ago

Revision 7bde8d10 | View on GitHub

Ensure V3 async tasks complete

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

Actions #2

Updated by gerrod about 3 years ago

  • Status changed from POST to MODIFIED

Added by gerrod almost 3 years ago

Revision 6e28a5b9 | View on GitHub

Ensure V3 async tasks complete

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

Actions #4

Updated by fao89 almost 3 years ago

  • Sprint/Milestone set to 0.8.0
Actions #5

Updated by fao89 almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF