-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
buffer: warning message for restoring buffer with flush_at_shutdown #4027
Conversation
Signed-off-by: Daijiro Fukuda <[email protected]>
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
Is it O.K. to merge this before #4025 ?
Thanks for your review! Yes, please! |
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.
Sorry, one more thing.
When flush_at_shutdown is true, the remaining chunk files during resuming are possibly broken since there may be a power failure or similar failure.
Could you add this information as the commit message or comment in the code?
Indeed! I will add the comment to the code. |
Signed-off-by: Daijiro Fukuda <[email protected]>
I have added the comment at 0807567. |
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.
Thanks!
Thanks for merging! |
Which issue(s) this PR fixes:
Partial fix for #3970
What this PR does / why we need it:
When
flush_at_shutdown
istrue
, the remaining chunk files during resuming are possibly broken since there may be a power failure or similar failure.Without this log, even if we notice that we have received corrupted data on the destination server, we can not know which chunks may have been corrupted.
Docs Changes:
Not needed.
Release Note:
Add warning messages for restoring buffer with
flush_at_shutdown true
.