Package org.elasticsearch.cluster.routing.allocation.decider
package org.elasticsearch.cluster.routing.allocation.decider
-
ClassDescription
AllocationDecider
is an abstract base class that allows to make dynamic cluster- or index-wide shard allocation decisions on a per-node basis.A compositeAllocationDecider
combining the "decision" of multipleAllocationDecider
implementations into a single allocation decision.ThisAllocationDecider
controls shard allocation based onawareness
key-value pairs defined in the node configuration.ThisAllocationDecider
controls re-balancing operations based on the cluster wide active shard state.Similar to theClusterRebalanceAllocationDecider
thisAllocationDecider
controls the number of currently in-progress re-balance (relocation) operations and restricts node allocations if the configured threshold is reached.This abstract class defining basicDecision
used during shard allocation process.Simple class representing a list of decisionsSimple class representing a single decisionTheDiskThresholdDecider
checks that the node a shard is potentially being allocated to has enough disk space.This allocation decider allows shard allocations / rebalancing via the cluster wide settingsEnableAllocationDecider.CLUSTER_ROUTING_ALLOCATION_ENABLE_SETTING
/EnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE_SETTING
and the per index settingEnableAllocationDecider.INDEX_ROUTING_ALLOCATION_ENABLE_SETTING
/EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING
.ThisAllocationDecider
control shard allocation by include and exclude filters via dynamic cluster and index routing settings.An allocation decider that prevents shards from being allocated on any node if the shards allocation has been retried N times without success.An allocation decider that prevents shards from being allocated to a node that is in the process of shutting down.An allocation decider that prevents relocation or allocation from nodes that might not be version compatible.Only allow rebalancing when all shards are active within the shard replication group.An allocation strategy that only allows for a replica to be allocated when the primary is active.An allocation decider that ensures we allocate the shards of a target index for resize operations next to the source primariesThisAllocationDecider
prevents shards that have failed to be restored from a snapshot to be allocated.An allocation decider that prevents multiple instances of the same shard to be allocated on the samenode
.ThisAllocationDecider
limits the number of shards per node on a per index or node-wide basis.ThisAllocationDecider
prevents shards that are currently been snapshotted to be moved to other nodes.ThrottlingAllocationDecider
controls the recovery process per node in the cluster. -
Enum ClassDescriptionAn enum representation for the configured re-balance type.This enumeration defines the possible types of decisionsAllocation values or rather their string representation to be used used with
EnableAllocationDecider.CLUSTER_ROUTING_ALLOCATION_ENABLE_SETTING
/EnableAllocationDecider.INDEX_ROUTING_ALLOCATION_ENABLE_SETTING
via cluster / index settings.Rebalance values or rather their string representation to be used used withEnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE_SETTING
/EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING
via cluster / index settings.