I went through the split brain mechanism documentation in elastic.co . I have few doubts regarding documentation part:
two master-eligible nodes,minimum_master_nodes =1
Any data that has been written to the restarted node will be lost.What this stmt mean whether the data(i.e cache,translog buffer etc) that is present in the node is lost or the data that was send during the restart process of the node is lost?
3 master-eligible nodes,minimum_master_nodes =2
As soon as the network split is resolved, the single node will rejoin the cluster and start serving requests again. It mean the that single node also need to be restarted for joining in the cluster then the data that is present in the single node also will be lost right? Then how we can say the above configuration avoid split brain?
Please correct me if i am wrong