Class RebalanceConstraints
java.lang.Object
org.opensearch.cluster.routing.allocation.RebalanceConstraints
Constraints applied during rebalancing round; specify conditions which, if breached, reduce the
priority of a node for receiving shard relocations.
- Opensearch.internal:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updateRebalanceConstraint
(String constraint, boolean enable) long
weight
(ShardsBalancer balancer, BalancedShardsAllocator.ModelNode node, String index)
-
Constructor Details
-
RebalanceConstraints
-
-
Method Details
-
updateRebalanceConstraint
-
weight
-