Modifier and Type | Class and Description |
---|---|
class |
FailedRerouteAllocation
This
RoutingAllocation keeps a shard which routing
allocation has faild |
class |
StartedRerouteAllocation
This
RoutingAllocation holds a list of started shards within a
cluster |
Modifier and Type | Method and Description |
---|---|
static void |
AllocationService.updateLeftDelayOfUnassignedShards(RoutingAllocation allocation,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
boolean |
ShardsAllocators.allocateUnassigned(RoutingAllocation allocation) |
boolean |
ShardsAllocator.allocateUnassigned(RoutingAllocation allocation)
Assign all unassigned shards to nodes
|
boolean |
BalancedShardsAllocator.allocateUnassigned(RoutingAllocation allocation) |
boolean |
ShardsAllocators.moveShards(RoutingAllocation allocation) |
boolean |
ShardsAllocator.moveShards(RoutingAllocation allocation)
Move started shards that can not be allocated to a node anymore
|
boolean |
BalancedShardsAllocator.moveShards(RoutingAllocation allocation) |
boolean |
ShardsAllocators.rebalance(RoutingAllocation allocation) |
boolean |
ShardsAllocator.rebalance(RoutingAllocation allocation)
Rebalancing number of shards on all nodes
|
boolean |
BalancedShardsAllocator.rebalance(RoutingAllocation allocation) |
Constructor and Description |
---|
BalancedShardsAllocator.Balancer(ESLogger logger,
RoutingAllocation allocation,
BalancedShardsAllocator.WeightFunction weight,
float threshold) |
Modifier and Type | Method and Description |
---|---|
RerouteExplanation |
CancelAllocationCommand.execute(RoutingAllocation allocation,
boolean explain) |
RerouteExplanation |
MoveAllocationCommand.execute(RoutingAllocation allocation,
boolean explain) |
RerouteExplanation |
AllocateAllocationCommand.execute(RoutingAllocation allocation,
boolean explain) |
RoutingExplanations |
AllocationCommands.execute(RoutingAllocation allocation,
boolean explain)
Executes all wrapped commands on a given
RoutingAllocation |
RerouteExplanation |
AllocationCommand.execute(RoutingAllocation allocation,
boolean explain)
Executes the command on a
RoutingAllocation setup |
Modifier and Type | Method and Description |
---|---|
Decision |
FilterAllocationDecider.canAllocate(IndexMetaData indexMetaData,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDeciders.canAllocate(IndexMetaData indexMetaData,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canAllocate(IndexMetaData indexMetaData,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be allocated at all at this state of the
RoutingAllocation . |
Decision |
AllocationDeciders.canAllocate(RoutingNode node,
RoutingAllocation allocation) |
Decision |
ThrottlingAllocationDecider.canAllocate(RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canAllocate(RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given node can allow any allocation at all at this state of the
RoutingAllocation . |
Decision |
ShardsLimitAllocationDecider.canAllocate(RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDeciders.canAllocate(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be allocated at all at this state of the
RoutingAllocation . |
Decision |
ReplicaAfterPrimaryActiveAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
FilterAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDeciders.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
ThrottlingAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
SameShardAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be
allocated on the given node. |
Decision |
EnableAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
NodeVersionAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AwarenessAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
ReplicaAfterPrimaryActiveAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
ShardsLimitAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
DiskThresholdDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
SnapshotInProgressAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be
allocated on the given node. |
Decision |
DisableAllocationDecider.canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
Deprecated.
|
Decision |
AllocationDeciders.canRebalance(RoutingAllocation allocation) |
Decision |
AllocationDecider.canRebalance(RoutingAllocation allocation)
Returns a
Decision whether the cluster can execute
re-balanced operations at all. |
Decision |
ClusterRebalanceAllocationDecider.canRebalance(RoutingAllocation allocation) |
Decision |
AllocationDeciders.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be
re-balanced to the given allocation. |
Decision |
ConcurrentRebalanceAllocationDecider.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
EnableAllocationDecider.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
RebalanceOnlyWhenActiveAllocationDecider.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
ClusterRebalanceAllocationDecider.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation) |
Decision |
SnapshotInProgressAllocationDecider.canRebalance(ShardRouting shardRouting,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be
re-balanced to the given allocation. |
Decision |
FilterAllocationDecider.canRemain(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDeciders.canRemain(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
AllocationDecider.canRemain(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be remain
on the given node. |
Decision |
AwarenessAllocationDecider.canRemain(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
ShardsLimitAllocationDecider.canRemain(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Decision |
DiskThresholdDecider.canRemain(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation) |
Modifier and Type | Method and Description |
---|---|
boolean |
PrimaryShardAllocator.allocateUnassigned(RoutingAllocation allocation) |
boolean |
ReplicaShardAllocator.allocateUnassigned(RoutingAllocation allocation) |
boolean |
GatewayAllocator.allocateUnassigned(RoutingAllocation allocation) |
protected abstract AsyncShardFetch.FetchResult<TransportNodesListGatewayStartedShards.NodeGatewayStartedShards> |
PrimaryShardAllocator.fetchData(ShardRouting shard,
RoutingAllocation allocation) |
protected abstract AsyncShardFetch.FetchResult<TransportNodesListShardStoreMetaData.NodeStoreFilesMetaData> |
ReplicaShardAllocator.fetchData(ShardRouting shard,
RoutingAllocation allocation) |
static PriorityComparator |
PriorityComparator.getAllocationComparator(RoutingAllocation allocation)
Returns a PriorityComparator that uses the RoutingAllocation index metadata to access the index setting per index.
|
void |
AsyncShardFetch.FetchResult.processAllocation(RoutingAllocation allocation)
Process any changes needed to the allocation based on this fetch result.
|
boolean |
ReplicaShardAllocator.processExistingRecoveries(RoutingAllocation allocation)
Process existing recoveries of replicas and see if we need to cancel them if we find a better
match.
|
Copyright © 2009–2016. All rights reserved.