Disaster recovery in elasticsearch

hi everyone
I hope this message finds you well, so in elasticsearch I have 3 nodes, 2 masters nodes and a data node, so if the 2 masters nodes fail can I find all data in the third data node ?

I would recommend you read this part of the documentation as it provides more detail than I will give.

The short answer is that you always should have at least 3 master eligible nodes in any Elasticsearch cluster. For the cluster to function and your data to be safe you need at least a strict majority of master eligible nodes available.

In your scenario I would recommend making all nodes master eligible and also data nodes. If you did permanently lose both the masters given your current config your cluster would likely be lost and you would need to restore from a snapshot.

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