Hi,
The documentation for elasticsearch 7.14 states, that the configuration setting cluster.initial_master_nodes
has to be removed from the configuration file after a cluster has formed sucessfully and should be absent when a new node is added or the cluster is restarted.
While evaluating elasticsearch deployment options, I tried ansible-elasticsearch, which does not remove this option from elasticsearch.yml after the cluster is bootstraped successfully.
I already searched this forum and found this Post, where @DavidTurner stated, that not removing this option could, under certain circumstances, lead to possible data loss and accidentially form a new cluster.
My questions are:
- Is this still valid for elasticsearch 7.14.1?
- Should the
cluster.initial_master_nodes
always get removed after cluster bootstraping? - Under what circumstances could data loss occur?
Thank you for your help!
Kind regards,
Marc