I have configured multi master node configurtaion in cluster but master election process is not happening correctly ..
I have 4 nodes out of 4 , Node1, Node2 and node3 is master node and node 4 is data node.
Active master node is Node 1. i have configured yml file like below
discovery.seed_hosts: ["Node1", "Node2","Node3","Node4"] cluster.initial_master_nodes: ["Node1","Node2","Node3"]
After cluster configuration everything is running but when i stopped node1 then node2 is not taking as master .
Is there any configuration i missed here could you please help me out.