I have a three node cluster with 1 master-data node and 2 data-only nodes. I want to make this into a 3 master-data node cluster without any downtime. To this effect, I planned to do the following:
- First, set
discovery.zen.minimum_master: 2setting dynamically via the REST API.
- Second, set
truein the config file of each data node and restart - one at a time.
However, this may lead to split-brain since the current
discovery.zen.minimum_master setting default to 1, and I have been suggested to do a full cluster restart to avoid this. But since that will cause downtime, is there a way around this?