Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove infra ID from DB before removing containers
If we interrupt pod removal between removing containers and removing the whole pod, the infra ID was still in the DB, and most pod operations would try to retrieve the infra container (and would this fail). Clear the infra ID from the DB just before we remove all containers to prevent this. Fixes containers#12034 [NO NEW TESTS NEEDED] This is a very narrow race and I have no idea how to repro it. Signed-off-by: Matthew Heon <[email protected]>
- Loading branch information