Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix deadlock between play kube and cleanup
There was a deadlock between two concurrent processes: play kube and cleanup, that is called after container exit when RestartPolicy is used. Before the fix, the cleanup command didn't lock Pod's lock, so there was a possibility of obtaining two locks in different order in two processes. [NO NEW TESTS NEEDED] Closes containers#14921 Signed-off-by: Mikhail Khachayants <[email protected]>
- Loading branch information