Package org.elasticsearch.cluster.routing.allocation.command
package org.elasticsearch.cluster.routing.allocation.command
-
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.Allocates an unassigned replica shard to a specific node.Allocates an unassigned stale primary shard to a specific node.A simple
AllocationCommand
composite managing severalAllocationCommand
implementationsAbstract base class for allocating an unassigned primary shard to a nodeA 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.