Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[22.06] Fix live-restore w/ restart policies + volume refs #44237

Merged
merged 1 commit into from Oct 3, 2022

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Oct 3, 2022


Before this change restarting the daemon in live-restore with running containers + a restart policy meant that volume refs were not restored. This specifically happens when the container is still running and there is a restart policy that would make sure the container was running again on restart.

The bug allows volumes to be removed even though containers are referencing them. 馃槺

Signed-off-by: Brian Goff cpuguy83@gmail.com
(cherry picked from commit 4c0e097)
Signed-off-by: Brian Goff cpuguy83@gmail.com

Before this change restarting the daemon in live-restore with running
containers + a restart policy meant that volume refs were not restored.
This specifically happens when the container is still running *and*
there is a restart policy that would make sure the container was running
again on restart.

The bug allows volumes to be removed even though containers are
referencing them. 馃槺

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit 4c0e097)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thaJeztah thaJeztah added this to the 22.06.0 milestone Oct 3, 2022
@thaJeztah thaJeztah merged commit dbcd0e7 into moby:22.06 Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants