Restore active mount counts on live-restore#45754
Merged
thaJeztah merged 1 commit intomoby:masterfrom Jun 27, 2023
Merged
Conversation
e0e26f7 to
6781308
Compare
3c57ca9 to
19d651c
Compare
Member
|
docker-py failure can be ignored and is unrelated (fixed on master) |
Member
|
@corhere @neersighted @vvoland PTAL |
This was referenced Jun 27, 2023
vvoland
reviewed
Jun 27, 2023
Contributor
vvoland
left a comment
There was a problem hiding this comment.
Overall LGTM, the logs need to be adjusted now though
vvoland
approved these changes
Jun 27, 2023
neersighted
requested changes
Jun 27, 2023
Member
neersighted
left a comment
There was a problem hiding this comment.
One logging nit, otherwise LGTM.
19d651c to
f1b6b87
Compare
neersighted
approved these changes
Jun 27, 2023
When live-restoring a container the volume driver needs be notified that there is an active mount for the volume. Before this change the count is zero until the container stops and the uint64 overflows pretty much making it so the volume can never be removed until another daemon restart. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
f1b6b87 to
647c2a6
Compare
Member
|
Looks like we should add a -f in the github actions as well; |
|
Thanks for all of your work on this issue + fix @cpuguy83. |
Member
Author
|
Sorry it took so long to recognize where the issue was! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When live-restoring a container the volume driver needs be notified that there is an active mount for the volume.
Before this change the count is zero until the container stops and the uint64 overflows pretty much making it so the volume can never be removed until another daemon restart.
Fixes #44422