# Warning can not be imported as a dangling index, as index with same name already exists in cluster metadata

**URL:** https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577
**Category:** Elasticsearch
**Created:** [September 16, 2019, 5:41am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577 "2019-09-16T05:41:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Nikhil\_Pillai](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Nikhil\_Pillai](https://discuss.elastic.co/u/Nikhil_Pillai)
#### Post date: [September 16, 2019, 5:41am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/1 "2019-09-16T05:41:17Z")

</div>

I am running ELK 6.5.4 with 3 node cluster. Cluster health is GREEN

I see below error in one of the node.

```auto
[2019-09-16T11:05:49,832][WARN][o.e.g.DanglingIndicesState] [node-3] [[.watcher-history-9-2019.07.12/1fkhSke8S7CQVA8TJZ5GHg]] can not be imported as a dangling index, as index with same name already exists in cluster metadata
[2019-09-16T11:05:49,833][WARN][o.e.g.DanglingIndicesState] [node-3] [[genie-zipkin:span-2019-08-26/J2CNO0MbRsmj8W5OcuVBPQ]] can not be imported as a dangling index, as index with same name already exists in cluster metadata

```

How do i resolve the same without deleting the index from the cluster.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 16, 2019, 5:45am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/2 "2019-09-16T05:45:05Z")

</div>

How have you ended up in this situation? Have you experienced a network partition, e.g. by having more than one master eligible node and having minimum\_master\_nodes not set to `2`?

---

<div class="post-metadata">

### Author: ![Nikhil\_Pillai](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Nikhil\_Pillai](https://discuss.elastic.co/u/Nikhil_Pillai)
#### Post date: [September 16, 2019, 6:01am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/3 "2019-09-16T06:01:21Z")

</div>

by having more than one master eligible node and having minimum\_master\_nodes not set to `2`

-- Yes but now minimum\_master\_nodes is set to 2.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 16, 2019, 6:03am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/4 "2019-09-16T06:03:43Z")

</div>

Did this issue occur when minimum\_master\_nodes was set to `2` or when it was changed to `2`?

---

<div class="post-metadata">

### Author: ![Nikhil\_Pillai](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Nikhil\_Pillai](https://discuss.elastic.co/u/Nikhil_Pillai)
#### Post date: [September 16, 2019, 6:09am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/5 "2019-09-16T06:09:09Z")

</div>

No the issue existed before minimum\_master\_nodes was set to 2

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 16, 2019, 6:10am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/6 "2019-09-16T06:10:23Z")

</div>

OK, then it is likely due to a network partition. In that case I do not think there is anything you can do but to accept the data loss that may have occurred to do this misconfiguration.

---

<div class="post-metadata">

### Author: ![Nikhil\_Pillai](https://avatars.discourse-cdn.com/v4/letter/n/e56c9b/32.png) [@Nikhil\_Pillai](https://discuss.elastic.co/u/Nikhil_Pillai)
#### Post date: [September 16, 2019, 6:13am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/7 "2019-09-16T06:13:05Z")

</div>

i am getting this warning only on one node. So if i delete the index from that node can i reduce the data loss or do i have to delete the index completely from the cluster?

---

<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: [October 14, 2019, 6:13am UTC](https://discuss.elastic.co/t/warning-can-not-be-imported-as-a-dangling-index-as-index-with-same-name-already-exists-in-cluster-metadata/199577/8 "2019-10-14T06:13:16Z")

</div>

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