-
Notifications
You must be signed in to change notification settings - Fork 150
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(replica): best-effort to delete old head disk file #1174
Conversation
@mergify backport v1.7.x |
✅ Backports have been created
|
933a89e
to
302c612
Compare
The deletion of old head disk file is a best-effort task, and the failure should not hinder the following tasks. Longhorn 9168 Signed-off-by: Derek Su <derek.su@suse.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!
Does this mean there would be chances to have orphaned old head snapshot img? |
Yes, need a manual intervention for the deletion. |
@mergify backport v1.6.x |
✅ Backports have been created
|
Backporting to v1.6.x is necessary, because the bug is also in v1.6.x. |
Which issue(s) this PR fixes:
Issue longhorn/longhorn#9168
What this PR does / why we need it:
The deletion of old head disk file is a best-effort task, and the failure should not hinder the following tasks.
The regression is caused by the commit.
Special notes for your reviewer:
Additional documentation or context