# Half master nodes are down, Is there a way to recover cluster?

**URL:** https://discuss.elastic.co/t/half-master-nodes-are-down-is-there-a-way-to-recover-cluster/375850
**Category:** Elastic Search
**Created:** [March 13, 2025, 2:47pm UTC](https://discuss.elastic.co/t/half-master-nodes-are-down-is-there-a-way-to-recover-cluster/375850 "2025-03-13T14:47:23Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![howdoimysql](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@howdoimysql](https://discuss.elastic.co/u/howdoimysql)
#### Post date: [March 13, 2025, 2:47pm UTC](https://discuss.elastic.co/t/half-master-nodes-are-down-is-there-a-way-to-recover-cluster/375850/1 "2025-03-13T14:47:23Z")

</div>

I had a cluster of several elasticsearch nodes. Four of them where master elegible nodes. We lost two of them, and they're currently in an irrecoverable state.

I removed the lost nodes from the elastic cluster.initial\_master\_nodes configuration, but myy cluster is unhealthy, every curl command I send gives me back 503 master\_not\_discovered\_exception, and the nodes log show "master not discovered or elected yet, an election requires at least 2 nodes with ids from [...]"

Any Ideas ?

---

<div class="post-metadata">

### Author: ![RainTown](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raintown/32/140206_2.png) [@RainTown](https://discuss.elastic.co/u/RainTown)
#### Post date: [March 13, 2025, 10:44pm UTC](https://discuss.elastic.co/t/half-master-nodes-are-down-is-there-a-way-to-recover-cluster/375850/2 "2025-03-13T22:44:15Z")

</div>

Welcome to the forum. I hope someone will be able to help.

There are a number of scenarios covered here:

> **[elasticsearch-node | Elasticsearch Guide \[8.17\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/node-tool.html)**

specifically

> **[elasticsearch-node | Elasticsearch Guide \[8.17\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/node-tool.html#_unsafe_cluster_bootstrapping)**

Even numbers of master-eligible nodes are often not a great idea. But if you'd had 3 masters, and lost 2, you would be in much the same boat. How many nodes were in your complete cluster? How was the data replicated? Do you have (recent) snapshots?

I'd be very cautious before proceeding. Make a backup of what you've got right now, before trying anything. and wait for a bit as others might respond on the thread. Maybe setup a similar cluster elsewhere, eg AWS, and try to simulate whats happened and practice on that one first.

Good luck!

---

<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: [April 10, 2025, 10:45pm UTC](https://discuss.elastic.co/t/half-master-nodes-are-down-is-there-a-way-to-recover-cluster/375850/3 "2025-04-10T22:45:13Z")

</div>

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