public class NodeVersionAllocationDecider extends AllocationDecider
IndexFormatTooNewException
on the lowest level since it might have already written segments that use a new postings format or codec that is not
available on the target node.| 修飾子とタイプ | フィールドと説明 |
|---|---|
static String |
NAME |
deprecationLogger, logger, settings| コンストラクタと説明 |
|---|
NodeVersionAllocationDecider(Settings settings) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Decision |
canAllocate(ShardRouting shardRouting,
RoutingNode node,
RoutingAllocation allocation)
Returns a
Decision whether the given shard routing can be
allocated on the given node. |
canAllocate, canAllocate, canAllocate, canRebalance, canRebalance, canRemainlogDeprecatedSetting, logRemovedSetting, nodeNamepublic Decision canAllocate(ShardRouting shardRouting, RoutingNode node, RoutingAllocation allocation)
AllocationDeciderDecision whether the given shard routing can be
allocated on the given node. The default is Decision.ALWAYS.canAllocate クラス内 AllocationDeciderCopyright © 2009–2016. All rights reserved.