# Managing Dangling Indices

**URL:** https://discuss.elastic.co/t/managing-dangling-indices/219258
**Category:** Elasticsearch
**Created:** [February 13, 2020, 5:00pm UTC](https://discuss.elastic.co/t/managing-dangling-indices/219258 "2020-02-13T17:00:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![C\_Sawyer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/c_sawyer/32/62656_2.png) [@C\_Sawyer](https://discuss.elastic.co/u/C_Sawyer)
#### Post date: [February 13, 2020, 5:00pm UTC](https://discuss.elastic.co/t/managing-dangling-indices/219258/1 "2020-02-13T17:00:33Z")

</div>

Hi

I'm new to ES and have inherited a 3-node data/master cluster which continually logs the same set of DanglingIndices. All of the indices listed are closed. Some appear to be common to all 3 nodes, others only 2 or are unique to one node (the punctuation chars are me flagging which are common). Q: will re-opening these indices help clear these warnings?

```
[2020-02-13T00:00:00,717][WARN][o.e.g.DanglingIndicesState] [es01] [[active_directory-2019.06.03/mT7xf14iRHuTBj-d5CbYqw]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
.[2020-02-13T00:00:00,717][WARN][o.e.g.DanglingIndicesState] [es01] [[active_directory-2019.06.04/F8_uB9rZRzuAvc1GzI6Thw]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
>[2020-02-13T00:00:00,717][WARN][o.e.g.DanglingIndicesState] [es01] [[active_directory-2019.07.22/53CMdUIXTduIluYNIfSUwA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,717][WARN][o.e.g.DanglingIndicesState] [es01] [[active_directory-2019.07.23/xkewdjcaTVWijRsgy3yYsg]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
,[2020-02-13T00:00:00,717][WARN][o.e.g.DanglingIndicesState] [es01] [[active_directory-2019.07.24/UremXNg9QZaEfBz6MSJUzg]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,717][WARN][o.e.g.DanglingIndicesState] [es01] [[active_directory-2019.07.25/KbR9H_OwQtyYHE6ODaytRA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata

.[2020-02-13T00:00:00,540][WARN][o.e.g.DanglingIndicesState] [es02] [[active_directory-2019.06.04/F8_uB9rZRzuAvc1GzI6Thw]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,535][WARN][o.e.g.DanglingIndicesState] [es02] [[active_directory-2019.06.09/JaAZ0TXTQx2L-9lEWHTgDQ]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
>[2020-02-13T00:00:00,540][WARN][o.e.g.DanglingIndicesState] [es02] [[active_directory-2019.07.22/53CMdUIXTduIluYNIfSUwA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
,[2020-02-13T00:00:00,540][WARN][o.e.g.DanglingIndicesState] [es02] [[active_directory-2019.07.24/UremXNg9QZaEfBz6MSJUzg]] can not be imported as a dangling index, as index with same name already exists in cluster metadata

>[2020-02-13T00:00:00,557][WARN][o.e.g.DanglingIndicesState] [es03] [[active_directory-2019.07.22/53CMdUIXTduIluYNIfSUwA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,557][WARN][o.e.g.DanglingIndicesState] [es03] [[active_directory-2019.07.22/SafMqX78QJCIbdyw6OdmeA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,557][WARN][o.e.g.DanglingIndicesState] [es03] [[active_directory-2019.07.23/MaAVpRp-RXyxzHM2q3HUyQ]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,557][WARN][o.e.g.DanglingIndicesState] [es03] [[active_directory-2019.07.24/nDjy2RSARIq5hyO6NfMvtA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
,[2020-02-13T00:00:00,557][WARN][o.e.g.DanglingIndicesState] [es03] [[active_directory-2019.07.24/UremXNg9QZaEfBz6MSJUzg]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2020-02-13T00:00:00,554][WARN][o.e.g.DanglingIndicesState] [es03] [[active_directory-2019.07.25/J94IJoTPTquIt7mw44usXA]] can not be imported as a dangling index, as index with same name already exists in cluster metadata

```

thank you

---

<div class="post-metadata">

### Author: ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)
#### Post date: [February 13, 2020, 5:05pm UTC](https://discuss.elastic.co/t/managing-dangling-indices/219258/2 "2020-02-13T17:05:48Z")

</div>

This indicates that something might have gone quite wrong with your cluster on the dates mentioned, and you might have lost data then.

The preferred way to clean these indices up is to delete the existing indices, e.g. `active_directory-2019.06.03` to allow these dangling indices to be imported in their place. You can then delete the dangling index if you don't want it, and then restore the original index from a snapshot; alternatively you can restore the original index with a different name which will give you access to both the original and dangling copies.

---

<div class="post-metadata">

### Author: ![C\_Sawyer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/c_sawyer/32/62656_2.png) [@C\_Sawyer](https://discuss.elastic.co/u/C_Sawyer)
#### Post date: [February 13, 2020, 5:42pm UTC](https://discuss.elastic.co/t/managing-dangling-indices/219258/3 "2020-02-13T17:42:59Z")

</div>

Thanks for the speedy response, David. I'll put your advice into action asap

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [March 12, 2020, 5:43pm UTC](https://discuss.elastic.co/t/managing-dangling-indices/219258/4 "2020-03-12T17:43:01Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
