Module org.elasticsearch.server
Class IndexBalanceConstraintSettings
java.lang.Object
org.elasticsearch.cluster.routing.allocation.IndexBalanceConstraintSettings
Settings definitions for the index shard count allocation decider and associated infrastructure
-
Field Summary
FieldsModifier and TypeFieldDescriptionThis setting permits nodes to host more than ideally balanced number of index shards. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INDEX_BALANCE_DECIDER_ENABLED_SETTING
-
INDEX_BALANCE_DECIDER_EXCESS_SHARDS
This setting permits nodes to host more than ideally balanced number of index shards. Maximum tolerated index shard count = ideal + skew_tolerance i.e. ideal = 4 shards, skew_tolerance = 1 maximum tolerated index shards = 4 + 1 = 5.
-
-
Constructor Details
-
IndexBalanceConstraintSettings
-
-
Method Details
-
isDeciderEnabled
public boolean isDeciderEnabled() -
getExcessShards
public int getExcessShards()
-