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

Fix for hanging aborted snapshot during node shutdown #5966

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Apr 29, 2014

If a node is shutdown while a snapshot that runs on this node is aborted, it might cause the snapshot process to hang.

Closes #5958

assertThat(client.prepareCount("test-idx").get().getCount(), equalTo(100L));

logger.info("--> create repository");
logger.info("--> creating repository");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

double log?

@kimchy
Copy link
Member

kimchy commented May 8, 2014

minor comments, LGTM

If a node is shutdown while a snapshot that runs on this node is aborted, it might cause the snapshot process to hang.

Closes elastic#5958
@imotov imotov merged commit dfdc183 into elastic:master May 12, 2014
@s1monw s1monw removed the review label May 18, 2014
@imotov imotov removed the v1.1.2 label Jun 16, 2014
@clintongormley clintongormley added the :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs label Jun 7, 2015
@imotov imotov deleted the issue-5958-aborted-snapshot-is-stuck-on-node-shutdown branch May 1, 2020 22:23
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 v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snapshot aborted but but still in progress
4 participants