Uses of Class
org.elasticsearch.cluster.routing.UnassignedInfo
-
-
Uses of UnassignedInfo in org.elasticsearch.action.admin.cluster.allocation
Methods in org.elasticsearch.action.admin.cluster.allocation that return UnassignedInfo Modifier and Type Method Description UnassignedInfoClusterAllocationExplanation. getUnassignedInfo()Returns the unassigned info for the shard, ornullif the shard is active. -
Uses of UnassignedInfo in org.elasticsearch.cluster.routing
Methods in org.elasticsearch.cluster.routing that return UnassignedInfo Modifier and Type Method Description UnassignedInfoShardRouting. unassignedInfo()Additional metadata on why the shard is/was unassigned.Methods in org.elasticsearch.cluster.routing with parameters of type UnassignedInfo Modifier and Type Method Description voidRoutingNodes. failShard(org.apache.logging.log4j.Logger logger, ShardRouting failedShard, UnassignedInfo unassignedInfo, IndexMetaData indexMetaData, RoutingChangesObserver routingChangesObserver)Applies the relevant logic to handle a cancelled or failed shard.ShardRoutingShardRouting. moveToUnassigned(UnassignedInfo unassignedInfo)Moves the shard to unassigned state.static ShardRoutingShardRouting. newUnassigned(ShardId shardId, boolean primary, RecoverySource recoverySource, UnassignedInfo unassignedInfo)Creates a new unassigned shard.voidRoutingChangesObserver.AbstractRoutingChangesObserver. shardFailed(ShardRouting activeShard, UnassignedInfo unassignedInfo)voidRoutingChangesObserver.DelegatingRoutingChangesObserver. shardFailed(ShardRouting activeShard, UnassignedInfo unassignedInfo)voidRoutingChangesObserver. shardFailed(ShardRouting failedShard, UnassignedInfo unassignedInfo)Called when a shard is failed or cancelled.voidRoutingChangesObserver.AbstractRoutingChangesObserver. unassignedInfoUpdated(ShardRouting unassignedShard, UnassignedInfo newUnassignedInfo)voidRoutingChangesObserver.DelegatingRoutingChangesObserver. unassignedInfoUpdated(ShardRouting unassignedShard, UnassignedInfo newUnassignedInfo)voidRoutingChangesObserver. unassignedInfoUpdated(ShardRouting unassignedShard, UnassignedInfo newUnassignedInfo)Called when an unassigned shard's unassigned information was updatedShardRoutingRoutingNodes.UnassignedShards.UnassignedIterator. updateUnassigned(UnassignedInfo unassignedInfo, RecoverySource recoverySource, RoutingChangesObserver changes)updates the unassigned info and recovery source on the current unassigned shardShardRoutingShardRouting. updateUnassigned(UnassignedInfo unassignedInfo, RecoverySource recoverySource) -
Uses of UnassignedInfo in org.elasticsearch.cluster.routing.allocation
Methods in org.elasticsearch.cluster.routing.allocation with parameters of type UnassignedInfo Modifier and Type Method Description voidIndexMetaDataUpdater. shardFailed(ShardRouting failedShard, UnassignedInfo unassignedInfo)voidRoutingNodesChangedObserver. shardFailed(ShardRouting failedShard, UnassignedInfo unassignedInfo)voidRoutingNodesChangedObserver. unassignedInfoUpdated(ShardRouting unassignedShard, UnassignedInfo newUnassignedInfo) -
Uses of UnassignedInfo in org.elasticsearch.cluster.routing.allocation.command
Methods in org.elasticsearch.cluster.routing.allocation.command with parameters of type UnassignedInfo Modifier and Type Method Description protected voidAbstractAllocateAllocationCommand. initializeUnassignedShard(RoutingAllocation allocation, RoutingNodes routingNodes, RoutingNode routingNode, ShardRouting shardRouting, UnassignedInfo unassignedInfo, RecoverySource recoverySource)Initializes an unassigned shard on a node and removes it from the unassigned -
Uses of UnassignedInfo in org.elasticsearch.snapshots
Methods in org.elasticsearch.snapshots with parameters of type UnassignedInfo Modifier and Type Method Description voidRestoreService.RestoreInProgressUpdater. shardFailed(ShardRouting failedShard, UnassignedInfo unassignedInfo)voidRestoreService.RestoreInProgressUpdater. unassignedInfoUpdated(ShardRouting unassignedShard, UnassignedInfo newUnassignedInfo)
-