-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[DOCS] Provide an explanation of what dangling indices are and how they can occur #26008
Comments
You can get information about "Dangling indicies" by typing "Dangling indicies" in the search line, then you can find the link under the search line. I reference the link |
Looks like we had it documented in 1.7 docs but need to ensure it's also in the latest docs after we've reorganised them. I'll see if I can fix this later... Thanks! |
* master: Trim down usages of `ShardOperationFailedException` interface (#28312) Do not return all indices if a specific alias is requested via get aliases api. [Test] Lower bwc version for rank-eval rest tests CountedBitSet doesn't need to extend BitSet. (#28239) Calculate sum in Kahan summation algorithm in aggregations (#27807) (#27848) Remove the `update_all_types` option. (#28288) Add information when master node left to DiscoveryNodes' shortSummary() (#28197) Provide explanation of dangling indices, fixes #26008 (#26999)
Dangling indices |
I have a situation where deleted indexes are not deleted from all nodes. As such, when ES is restarted, this Dangling Shard is imported as a Dangling Index and is thus UNASSIGNED and causes the cluster to enter "red" status and alarm bells start going off and things stop working. I run filebeat/metricbeat and curator. Curator deletes all "metricbeat" indexes older than 30 days. It runs every night. My cluster is green for 'days' (not months..and this is a problem). Then being already July, ES may restart for some reason (update of config or some other cycle) and then I get metricbeat indexes UNASSIGNED from january. I then run curator again, deletes these indexes, and the cluster goes green. How can I run a program (which I am happy to do on all nodes) that would delete all index shards from the disk that don't have an index in ES? Any idea how to go about this? |
@jbarwick Your question is better posted in the Elastic forums: https://discuss.elastic.co/ but do mention the link in this ticket once you have posted so others might follow it and find any further info/answers for similar questions. |
The elasticsearch docs make reference to dangling indices:
but there's no explanation of what they are or how they come about.
It would be good to have a glossary of some type to refer to for various terminology like this that could be expanded over time.
It would be good to link/reference Index Tombstones when documenting dangling indices too.
The text was updated successfully, but these errors were encountered: