I have a 3-node ES (v1.2.1) cluster with 1 replica. When there is a node
failure, the cluster rebalances and allocates primary shards(6 per index)
and replicas among the remaining 2 nodes which is fine. But we had an issue
where the disk space filled up and brought the whole cluster down. I
understand that we should allocate enough disk space to all nodes, but is
there a way to disable re-allocation of replicas ? On a node failure, we
want the replica to get promoted to primary, but we don't want new replicas
to be allocated among the remaining 2 nodes. Replicas should get allocated
when the cluster has 3 members. I have looked at cluster.routing.allocation*rebalance
options but I'm confused. Any help is appreciated.
I have a 3-node ES (v1.2.1) cluster with 1 replica. When there is a
node failure, the cluster rebalances and allocates primary shards(6 per
index) and replicas among the remaining 2 nodes which is fine. But we had
an issue where the disk space filled up and brought the whole cluster down.
I understand that we should allocate enough disk space to all nodes, but is
there a way to disable re-allocation of replicas ? On a node failure, we
want the replica to get promoted to primary, but we don't want new replicas
to be allocated among the remaining 2 nodes. Replicas should get allocated
when the cluster has 3 members. I have looked at cluster.routing.allocation*rebalance
options but I'm confused. Any help is appreciated.
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.