Package org.opensearch.cluster.routing.allocation.command
package org.opensearch.cluster.routing.allocation.command
Allocation Command transport handlers.
-
ClassDescriptionAbstract base class for allocating an unassigned shard to a nodeWorks around ObjectParser not supporting constructor arguments.Allocates an unassigned empty primary shard to a specific node.Builder for an empty primary allocation.Allocates an unassigned replica shard to a specific node.A builder for the command.Allocates an unassigned stale primary shard to a specific node.Builder for a stale primary allocationA command to move shards in some way.A simple
AllocationCommand
composite managing severalAllocationCommand
implementationsAbstract base class for allocating an unassigned primary shard to a nodeBase builder class for the primary allocation command.A command that cancels relocation, or recovery of a given shard on a node.A command that moves a shard from a specific node to another node.
Note: The shard needs to be in the stateShardRoutingState.STARTED
in order to be moved.