Backport 8708 to pulpcore 3.13
Updated by pulpbot almost 2 years ago
- Status changed from NEW to POST
Added by mdellweg almost 2 years ago
Updated by mdellweg almost 2 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|34e5cb231b70ef32d5a9b8034da90feb14fbe921.
Close a race condition with ReservedResource
During a small window between checking it's existance and looking up the ReservedResource, this object may be deleted in another thread. This condition will lead to task remaining in waiting state forever.
backports #8708 https://pulp.plan.io/issues/8708
(cherry picked from commit 18978d85d510d50b10990f509fae5a6a07d30f67)