| Class | Description |
|---|---|
| AllocationDecider |
AllocationDecider is an abstract base class that allows to make
dynamic cluster- or index-wide shard allocation decisions on a per-node
basis. |
| AllocationDeciders |
A composite
AllocationDecider combining the "decision" of multiple
AllocationDecider implementations into a single allocation decision. |
| AwarenessAllocationDecider |
This
AllocationDecider controls shard allocation based on
awareness key-value pairs defined in the node configuration. |
| ClusterRebalanceAllocationDecider |
This
AllocationDecider controls re-balancing operations based on the
cluster wide active shard state. |
| ConcurrentRebalanceAllocationDecider |
Similar to the
ClusterRebalanceAllocationDecider this
AllocationDecider controls the number of currently in-progress
re-balance (relocation) operations and restricts node allocations if the
configured threshold is reached. |
| Decision |
This abstract class defining basic
Decision used during shard
allocation process. |
| Decision.Multi |
Simple class representing a list of decisions
|
| Decision.Single |
Simple class representing a single decision
|
| DiskThresholdDecider |
The
DiskThresholdDecider checks that the node a shard is potentially
being allocated to has enough disk space. |
| EnableAllocationDecider |
This allocation decider allows shard allocations / rebalancing via the cluster wide settings
EnableAllocationDecider.CLUSTER_ROUTING_ALLOCATION_ENABLE_SETTING / EnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE_SETTING and the per index setting
EnableAllocationDecider.INDEX_ROUTING_ALLOCATION_ENABLE_SETTING / EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING. |
| FilterAllocationDecider |
This
AllocationDecider control shard allocation by include and
exclude filters via dynamic cluster and index routing settings. |
| MaxRetryAllocationDecider |
An allocation decider that prevents shards from being allocated on any node if the shards allocation has been retried N times without
success.
|
| NodeVersionAllocationDecider |
An allocation decider that prevents relocation or allocation from nodes
that might not be version compatible.
|
| RebalanceOnlyWhenActiveAllocationDecider |
Only allow rebalancing when all shards are active within the shard replication group.
|
| ReplicaAfterPrimaryActiveAllocationDecider |
An allocation strategy that only allows for a replica to be allocated when the primary is active.
|
| ResizeAllocationDecider |
An allocation decider that ensures we allocate the shards of a target index for resize operations next to the source primaries
|
| RestoreInProgressAllocationDecider |
This
AllocationDecider prevents shards that have failed to be
restored from a snapshot to be allocated. |
| SameShardAllocationDecider |
An allocation decider that prevents multiple instances of the same shard to
be allocated on the same node.
|
| ShardsLimitAllocationDecider |
This
AllocationDecider limits the number of shards per node on a per
index or node-wide basis. |
| SnapshotInProgressAllocationDecider |
This
AllocationDecider prevents shards that
are currently been snapshotted to be moved to other nodes. |
| ThrottlingAllocationDecider |
ThrottlingAllocationDecider controls the recovery process per node in
the cluster. |
| Enum | Description |
|---|---|
| ClusterRebalanceAllocationDecider.ClusterRebalanceType |
An enum representation for the configured re-balance type.
|
| Decision.Type |
This enumeration defines the
possible types of decisions
|
| EnableAllocationDecider.Allocation |
Allocation 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. |
| EnableAllocationDecider.Rebalance |
Rebalance values or rather their string representation to be used used with
EnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE_SETTING /
EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING
via cluster / index settings. |