Actions
Issue #8980
closedcontent app finishes servicing on_demand content requests before artifacts are fully saved
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 99
Quarter:
Description
Tests in pulp_container and pulp_maven are failing because the number of artifacts is not changing after on_demand content is requested.
https://github.com/pulp/pulp_container/pull/348/checks?check_run_id=2930802562 https://github.com/pulp/pulp_maven/runs/2928096871?check_suite_focus=true https://github.com/pulp/pulp_rpm/pull/2018/checks?check_run_id=2852155111#step:11:950
Related issues
Updated by ipanova@redhat.com over 3 years ago
- Has duplicate Issue #8911: Fix pull test that fails interminently added
Updated by dkliban@redhat.com over 3 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
- Sprint set to Sprint 99
Updated by pulpbot over 3 years ago
- Status changed from ASSIGNED to POST
Added by dkliban@redhat.com over 3 years ago
Updated by dkliban@redhat.com over 3 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|0b02f957e137a502d0e5a212a0877f3b766f0726.
Updated by pulpbot over 3 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Shields coroutine that is saving Artifact and Content
After the client receives the last chunk of the response, it closes the connection with the content app. This causes all scheduled coroutines to be cancelled. If the the thread that is performing the Artifact/Content save has not finished running, the Content is never saved.
This patch ensures that the Artifact and the Content are fully saved to the database after being streamed to the user.
fixes: #8980 https://pulp.plan.io/issues/8980