Skip to content

Commit af1b2ff

Browse files
Nit
1 parent ab53108 commit af1b2ff

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

server/src/main/java/org/elasticsearch/index/engine/ThreadPoolMergeExecutorService.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import org.apache.logging.log4j.LogManager;
1313
import org.apache.logging.log4j.Logger;
1414
import org.elasticsearch.common.settings.Setting;
15+
import org.elasticsearch.common.settings.Setting.Property;
1516
import org.elasticsearch.common.settings.Settings;
1617
import org.elasticsearch.common.unit.ByteSizeValue;
1718
import org.elasticsearch.common.unit.RelativeByteSizeValue;
@@ -58,7 +59,8 @@ public class ThreadPoolMergeExecutorService implements Closeable {
5859
public static final Setting<TimeValue> INDICES_MERGE_DISK_CHECK_INTERVAL_SETTING = Setting.positiveTimeSetting(
5960
"indices.merge.disk.check_interval",
6061
TimeValue.timeValueSeconds(5),
61-
Setting.Property.NodeScope
62+
Property.Dynamic,
63+
Property.NodeScope
6264
);
6365
public static final Setting<RelativeByteSizeValue> INDICES_MERGE_DISK_HIGH_WATERMARK_SETTING = new Setting<>(
6466
"indices.merge.disk.watermark.high",
@@ -85,8 +87,8 @@ public Iterator<Setting<?>> settings() {
8587
return res.iterator();
8688
}
8789
},
88-
Setting.Property.Dynamic,
89-
Setting.Property.NodeScope
90+
Property.Dynamic,
91+
Property.NodeScope
9092
);
9193
public static final Setting<ByteSizeValue> INDICES_MERGE_DISK_HIGH_MAX_HEADROOM_SETTING = new Setting<>(
9294
"indices.merge.disk.watermark.high.max_headroom",
@@ -135,8 +137,8 @@ public Iterator<Setting<?>> settings() {
135137
return res.iterator();
136138
}
137139
},
138-
Setting.Property.Dynamic,
139-
Setting.Property.NodeScope
140+
Property.Dynamic,
141+
Property.NodeScope
140142
);
141143
/**
142144
* Floor for IO write rate limit of individual merge tasks (we will never go any lower than this)

0 commit comments

Comments
 (0)