Hello. Please tell me why this happens?
We have three servers, all three masters, but we write only on one Server A.
When Server B is disconnected, the cluster breaks up and Server A and Server C error:
server_a:9200 : blocked by: [SERVICE_UNAVAILABLE/2/no master];
and
server_a:9200 : primary shard is not active Timeout: [1m]
Then we decided to check and shut down the server C, and the same situation, the cluster collapsed, server A and server B did not respond. Why is this happening?
Configuration:
"version" : "5.6.4"
Server A:
node.master: true
node.data: true
node.ingest: false
discovery.zen.ping.unicast.hosts: ["B", "C"]
discovery.zen.minimum_master_nodes: 2
Server B
node.master: true
node.data: true
node.ingest: false
discovery.zen.ping.unicast.hosts: ["C", "A"]
discovery.zen.minimum_master_nodes: 2
Server C
node.master: true
node.data: true
node.ingest: false
discovery.zen.ping.unicast.hosts: ["A", "B"]
discovery.zen.minimum_master_nodes: 2