elasticsearch/elasticsearch — Issue #1730: Minimum master nodes not respected.
Author: nkvoll
Created: 2012-02-23 01:17:15+00:00
State: open

I configured two ElasticSearch instances with unicast ping discovery to eacher, and set

discovery.zen.minimum_master_nodes: 2

.. in order to avoid a split-brain syndrome, however, when I shut down one of the nodes via the nodes shutdown API.

I then expected the cluster to become unavailable since the minimum_master_nodes was no longer met, but instead, the last remaining node decides to re-elect itself as a master.

The logs for both servers can be found at https://gist.github.com/3b80693463782b0bc7e8