Uses of Class
org.elasticsearch.cluster.routing.allocation.decider.AllocationDecider
-
Packages that use AllocationDecider Package Description org.elasticsearch.cluster org.elasticsearch.cluster.routing.allocation.decider org.elasticsearch.plugins -
-
Uses of AllocationDecider in org.elasticsearch.cluster
Methods in org.elasticsearch.cluster that return types with arguments of type AllocationDecider Modifier and Type Method Description static Collection<AllocationDecider>ClusterModule. createAllocationDeciders(Settings settings, ClusterSettings clusterSettings, List<ClusterPlugin> clusterPlugins)Return a newAllocationDeciderinstance with builtin deciders as well as those from plugins. -
Uses of AllocationDecider in org.elasticsearch.cluster.routing.allocation.decider
Subclasses of AllocationDecider in org.elasticsearch.cluster.routing.allocation.decider Modifier and Type Class Description classAllocationDecidersA compositeAllocationDecidercombining the "decision" of multipleAllocationDeciderimplementations into a single allocation decision.classAwarenessAllocationDeciderThisAllocationDecidercontrols shard allocation based onawarenesskey-value pairs defined in the node configuration.classClusterRebalanceAllocationDeciderThisAllocationDecidercontrols re-balancing operations based on the cluster wide active shard state.classConcurrentRebalanceAllocationDeciderSimilar to theClusterRebalanceAllocationDeciderthisAllocationDecidercontrols the number of currently in-progress re-balance (relocation) operations and restricts node allocations if the configured threshold is reached.classDiskThresholdDeciderTheDiskThresholdDeciderchecks that the node a shard is potentially being allocated to has enough disk space.classEnableAllocationDeciderThis allocation decider allows shard allocations / rebalancing via the cluster wide settingsEnableAllocationDecider.CLUSTER_ROUTING_ALLOCATION_ENABLE_SETTING/EnableAllocationDecider.CLUSTER_ROUTING_REBALANCE_ENABLE_SETTINGand the per index settingEnableAllocationDecider.INDEX_ROUTING_ALLOCATION_ENABLE_SETTING/EnableAllocationDecider.INDEX_ROUTING_REBALANCE_ENABLE_SETTING.classFilterAllocationDeciderThisAllocationDecidercontrol shard allocation by include and exclude filters via dynamic cluster and index routing settings.classMaxRetryAllocationDeciderAn allocation decider that prevents shards from being allocated on any node if the shards allocation has been retried N times without success.classNodeVersionAllocationDeciderAn allocation decider that prevents relocation or allocation from nodes that might not be version compatible.classRebalanceOnlyWhenActiveAllocationDeciderOnly allow rebalancing when all shards are active within the shard replication group.classReplicaAfterPrimaryActiveAllocationDeciderAn allocation strategy that only allows for a replica to be allocated when the primary is active.classResizeAllocationDeciderAn allocation decider that ensures we allocate the shards of a target index for resize operations next to the source primariesclassRestoreInProgressAllocationDeciderThisAllocationDeciderprevents shards that have failed to be restored from a snapshot to be allocated.classSameShardAllocationDeciderAn allocation decider that prevents multiple instances of the same shard to be allocated on the samenode.classShardsLimitAllocationDeciderThisAllocationDeciderlimits the number of shards per node on a per index or node-wide basis.classSnapshotInProgressAllocationDeciderThisAllocationDeciderprevents shards that are currently been snapshotted to be moved to other nodes.classThrottlingAllocationDeciderThrottlingAllocationDecidercontrols the recovery process per node in the cluster.Constructor parameters in org.elasticsearch.cluster.routing.allocation.decider with type arguments of type AllocationDecider Constructor Description AllocationDeciders(Collection<AllocationDecider> allocations) -
Uses of AllocationDecider in org.elasticsearch.plugins
Methods in org.elasticsearch.plugins that return types with arguments of type AllocationDecider Modifier and Type Method Description default Collection<AllocationDecider>ClusterPlugin. createAllocationDeciders(Settings settings, ClusterSettings clusterSettings)Return deciders used to customize where shards are allocated.
-