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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blob store shouldn't try deleting the write.lock file at the end of the restore process #11517

Merged

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Jun 5, 2015

Since we are creating write.lock earlier now, blob store shouldn't attempt deleting this file during clean up at the end of the restore process. The file is locked and the blog store doesn't succeed, but it generates a lot of useless warnings "failed to delete file [write.lock] during snapshot cleanup".

@imotov imotov added >bug v2.0.0-beta1 review :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs labels Jun 5, 2015
@s1monw
Copy link
Contributor

s1monw commented Jun 5, 2015

LGTM

…le at the end of the restore process

Since we are creating write.lock earlier now, blob store shouldn't attempt deleting this file during clean up at the end of the restore process. The file is locked and the blog store doesn't succeed, but it generates a lot of useless warnings "failed to delete file [write.lock] during snapshot cleanup".

Closes elastic#11517
@imotov imotov force-pushed the dont-delete-write-lock-during-restore branch from 7b4bb19 to 1d02212 Compare June 5, 2015 19:06
@imotov imotov merged commit 1d02212 into elastic:master Jun 5, 2015
@imotov imotov removed the review label Jun 5, 2015
@clintongormley clintongormley changed the title Snapshot/Restore: blob store shouldn't try deleting the write.lock file at the end of the restore process Blob store shouldn't try deleting the write.lock file at the end of the restore process Jun 8, 2015
@imotov imotov deleted the dont-delete-write-lock-during-restore branch May 1, 2020 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants