Class ClusterRebalanceAllocationDecider


  • public class ClusterRebalanceAllocationDecider
    extends AllocationDecider
    This AllocationDecider controls re-balancing operations based on the cluster wide active shard state. This decided can not be configured in real-time and should be pre-cluster start via cluster.routing.allocation.allow_rebalance. This setting respects the following values:
    • indices_primaries_active - Re-balancing is allowed only once all primary shards on all indices are active.
    • indices_all_active - Re-balancing is allowed only once all shards on all indices are active.
    • always - Re-balancing is allowed once a shard replication group is active