File tree 1 file changed +0
-13
lines changed
server/src/main/java/org/elasticsearch/cluster/routing/allocation
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -156,19 +156,6 @@ public class DiskThresholdSettings implements Writeable {
156
156
private volatile boolean enabled ;
157
157
private volatile TimeValue rerouteInterval ;
158
158
159
- static {
160
- checkAutoReleaseIndexEnabled ();
161
- }
162
-
163
- @ UpdateForV9 (owner = UpdateForV9 .Owner .DISTRIBUTED_COORDINATION ) // this check is unnecessary in v9
164
- private static void checkAutoReleaseIndexEnabled () {
165
- final String AUTO_RELEASE_INDEX_ENABLED_KEY = "es.disk.auto_release_flood_stage_block" ;
166
- final String property = System .getProperty (AUTO_RELEASE_INDEX_ENABLED_KEY );
167
- if (property != null ) {
168
- throw new IllegalArgumentException ("system property [" + AUTO_RELEASE_INDEX_ENABLED_KEY + "] may not be set" );
169
- }
170
- }
171
-
172
159
public DiskThresholdSettings (Settings settings , ClusterSettings clusterSettings ) {
173
160
setLowWatermark (CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING .get (settings ));
174
161
setLowStageMaxHeadroom (CLUSTER_ROUTING_ALLOCATION_LOW_DISK_MAX_HEADROOM_SETTING .get (settings ));
You can’t perform that action at this time.
0 commit comments