How does elasticsearch create "node id"??
It does not work properly in the following cases.
host 1 - es-node-1
host 2 - es-node-2
host 3 - es-node-3
If you kill all and change as below.
host 1 - es-node-2
host 2 - es-node-3
host 3 - es-node-1
I get an error.
master not discovered or elected yet, an election requires a node with id
Why is this?