File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/elasticsearch/cluster/routing/allocation
test/java/org/elasticsearch/cluster/routing/allocation Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,8 +67,8 @@ public void onNewInfo(ClusterInfo clusterInfo) {
6767 return ;
6868 }
6969
70- if (writeLoadConstraintSettings .getWriteLoadConstraintEnabled () != WriteLoadConstraintSettings . WriteLoadDeciderStatus . ENABLED ) {
71- logger .debug ("skipping monitor because the write load decider is disabled " );
70+ if (writeLoadConstraintSettings .getWriteLoadConstraintEnabled (). notFullyEnabled () ) {
71+ logger .debug ("skipping monitor because the write load decider is not fully enabled " );
7272 return ;
7373 }
7474
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ public void testRerouteIsNotCalledDeciderIsNotEnabled() {
129129 "don't reroute due to decider being disabled" ,
130130 WriteLoadConstraintMonitor .class .getCanonicalName (),
131131 Level .DEBUG ,
132- "skipping monitor because the write load decider is disabled "
132+ "skipping monitor because the write load decider is not fully enabled "
133133 )
134134 );
135135
You can’t perform that action at this time.
0 commit comments