Backport 8708 to pulpcore 3.11
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|72b61170a647c2baa0d41ebf8b26ef2d5f3c346e.
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)