Package org.opensearch.cluster.routing.allocation
package org.opensearch.cluster.routing.allocation
Shard Allocation Foundation Classes.
-
ClassDescriptionAn abstract class for representing various types of allocation decisions.Represents the allocation decision by an allocator for an unassigned shard.Allocation constraints specify conditions which, if breached, reduce the priority of a node for receiving unassigned shard allocations.An enum which represents the various decision types that can be taken by the allocators and deciders for allocating a shard to a node.This service manages the node allocation of a cluster.this class is used to describe results of applying a set of
AllocationCommand
ThisAwarenessReplicaBalance
gives total unique values of awareness attributes It takes in effect only iff cluster.routing.allocation.awareness.attributes and cluster.routing.allocation.awareness.force.zone.values both are specified.Defines a constraint useful to de-prioritize certain nodes as target of unassigned shards used inAllocationConstraints
or re-balancing target used inRebalanceConstraints
Defines different constraints definitionsListens for a node to go over the high watermark and kicks off an empty reroute if it does.A container to keep settings for disk thresholds up to date with cluster setting changes.Searches for, and allocates, shards for which there is an existing on-disk copy somewhere in the cluster.A class representing a failed shard.Observer that tracks changes made to RoutingNodes in order to update the primary terms and in-sync allocation ids inIndexMetadata
once the allocation round has completed.Represents a decision to move a started shard, either because it is no longer allowed to remain on its current node or because moving it to another node will form a better cluster balance.This class represents the shard allocation decision and its explanation for a single node.A class that captures metadata about a shard store on a node.Constraints applied during rebalancing round; specify conditions which, if breached, reduce the priority of a node for receiving shard relocations.Class encapsulating the explanation for a singleAllocationCommand
taken from the DecidersTheRoutingAllocation
keep the state of the current allocation of shards and holds theAllocationDeciders
which are responsible for the current routing state.Debug mode.Class used to encapsulate a number ofRerouteExplanation
explanations.Records if changes were made toRoutingNodes
during an allocation round.Represents the decision taken for the allocation of a single shard.A class that represents a stale shard copy.