It does not work properly in the following cases.
first.
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
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.