-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix race condition in waiting for restic restores to complete #2201
Conversation
looked good to me in testing, ready for review here. |
Signed-off-by: Steve Kriss <krisss@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a channel to wait for the restic restores to finish makes a lot of sense to me. Would be curious to see if this resolves the issue seen in our environment with the restic restore running out of disk space. Either way this change is an improvement to the way this currently functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall lgtm except for relocating the waiting log message into the go routine that does the waiting
Signed-off-by: Steve Kriss <krisss@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
Signed-off-by: Steve Kriss krisss@vmware.com
closes #2121
cc @dymurray
Basic validation on this looks good, but I'd like to do some more testing before merging so leaving in draft status.