ClassDescriptionUniquely identifies an allocation.The
DelayedAllocationServicelistens to cluster state changes and checks if there are unassigned shards with delayed allocation (unassigned shards that have the delay marker).This class implements a compilation of
ShardIterators.This exception defines illegal states of shard routingGenerates the shard id for
IndexRoutingTablerepresents routing information for a single index.
IndexShardRoutingTableencapsulates all instances of a single shard.Hash function based on the Murmur3 algorithm, which is the default as of Elasticsearch 2.0.Routing Preference TypeRepresents the recovery source of a shard.Recovery from a fresh copyRecovery from an existing on-disk storerecovery from other shards on same node (shrink index action)peer recovery from a primary shardrecovery from a snapshotAsynchronously performs a cluster reroute, updating any shard states and rebalancing the cluster if appropriate.Records changes made to
RoutingNodesduring an allocation round.Abstract implementation of
RoutingChangesObserverthat does not take any action.A base
Exceptions for all exceptions thrown by routing related operations.Represents a global cluster-wide routing table for all indices including the version of the current routing state.Builder for the routing table.Allows to iterate over a set of shard instances (routing) within a shard id group.
ShardRoutingimmutably encapsulates information about shard indexRoutings like id, state, version, etc.Represents the current state of a
ShardRoutingas defined by the cluster.A shuffler for shards whose primary goal is to balance load.Allows to iterate over unrelated shards.Holds additional information as to why the shard is in unassigned state.Captures the status of an unsuccessful allocation attempt for the shard, causing it to remain in the unassigned state.Reason why the shard is in unassigned state.