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

Delete unallocated shards under a cluster state task #6902

Closed

Conversation

bleskes
Copy link
Contributor

@bleskes bleskes commented Jul 17, 2014

This is to prevent a rare racing condition where the very same shard gets allocated to the node after our sanity check that the cluster state didn't check and the actual deletion of the files.

This is to prevent a rare racing condition where the very same shard gets allocated to the node after our sanity check that the cluster state didn't check and the actual deletion of the files.
@martijnvg
Copy link
Member

LGTM

1 similar comment
@s1monw
Copy link
Contributor

s1monw commented Jul 17, 2014

LGTM

@s1monw s1monw removed the v1.3.0 label Jul 17, 2014
@bleskes bleskes closed this in bdbe86d Jul 17, 2014
bleskes added a commit that referenced this pull request Jul 17, 2014
This is to prevent a rare racing condition where the very same shard gets allocated to the node after our sanity check that the cluster state didn't check and the actual deletion of the files.

Closes #6902
bleskes added a commit that referenced this pull request Jul 17, 2014
This is to prevent a rare racing condition where the very same shard gets allocated to the node after our sanity check that the cluster state didn't check and the actual deletion of the files.

Closes #6902
@bleskes bleskes deleted the delete_shards_in_cluster_task branch July 17, 2014 12:57
@bleskes bleskes added the v1.3.0 label Jul 17, 2014
@jpountz jpountz removed the review label Jul 24, 2014
@clintongormley clintongormley added the :Distributed/Store Issues around managing unopened Lucene indices. If it touches Store.java, this is a likely label. label Jun 7, 2015
@clintongormley clintongormley changed the title [Store] delete unallocated shards under a cluster state task Delete unallocated shards under a cluster state task Jun 7, 2015
mute pushed a commit to mute/elasticsearch that referenced this pull request Jul 29, 2015
This is to prevent a rare racing condition where the very same shard gets allocated to the node after our sanity check that the cluster state didn't check and the actual deletion of the files.

Closes elastic#6902
@clintongormley clintongormley added :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. and removed :Distributed/Store Issues around managing unopened Lucene indices. If it touches Store.java, this is a likely label. labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Engine Anything around managing Lucene and the Translog in an open shard. v1.3.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants