Module org.elasticsearch.server
Class WriteLoadConstraintSettings
java.lang.Object
org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintSettings
Settings definitions for the write load allocation decider and associated infrastructure
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Setting<WriteLoadConstraintSettings.WriteLoadDeciderStatus> The duration for which we need to see "high" utilization before we consider the low threshold exceededstatic final Setting<RatioValue> The threshold over which we consider write thread pool utilization "high"When the decider isWriteLoadConstraintSettings.WriteLoadDeciderStatus.ENABLED, the write-load monitor will callRerouteService.reroute(String, Priority, ActionListener)when we see tasks being delayed by this amount of time (but no more often thanWRITE_LOAD_DECIDER_REROUTE_INTERVAL_SETTING)The minimum amount of time between successive calls to reroute to address write load hot-spotsHow often the data node calculates the write-loads for the individual shards -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
-
Field Details
-
WRITE_LOAD_DECIDER_ENABLED_SETTING
public static final Setting<WriteLoadConstraintSettings.WriteLoadDeciderStatus> WRITE_LOAD_DECIDER_ENABLED_SETTING -
WRITE_LOAD_DECIDER_HIGH_UTILIZATION_THRESHOLD_SETTING
The threshold over which we consider write thread pool utilization "high" -
WRITE_LOAD_DECIDER_HIGH_UTILIZATION_DURATION_SETTING
The duration for which we need to see "high" utilization before we consider the low threshold exceeded -
WRITE_LOAD_DECIDER_QUEUE_LATENCY_THRESHOLD_SETTING
When the decider isWriteLoadConstraintSettings.WriteLoadDeciderStatus.ENABLED, the write-load monitor will callRerouteService.reroute(String, Priority, ActionListener)when we see tasks being delayed by this amount of time (but no more often thanWRITE_LOAD_DECIDER_REROUTE_INTERVAL_SETTING) -
WRITE_LOAD_DECIDER_SHARD_WRITE_LOAD_POLLING_INTERVAL_SETTING
How often the data node calculates the write-loads for the individual shards -
WRITE_LOAD_DECIDER_REROUTE_INTERVAL_SETTING
The minimum amount of time between successive calls to reroute to address write load hot-spots
-
-
Constructor Details
-
WriteLoadConstraintSettings
-
-
Method Details
-
getWriteLoadConstraintEnabled
-
getWriteLoadDeciderRerouteIntervalSetting
-
getWriteThreadPoolHighUtilizationThresholdSetting
public double getWriteThreadPoolHighUtilizationThresholdSetting()
-