File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/cluster/routing/allocation/decider Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1919
2020package org .elasticsearch .cluster .routing .allocation .decider ;
2121
22- import java .util .Set ;
23-
2422import com .carrotsearch .hppc .cursors .ObjectCursor ;
2523import org .apache .logging .log4j .LogManager ;
2624import org .apache .logging .log4j .Logger ;
4442import org .elasticsearch .index .Index ;
4543import org .elasticsearch .index .shard .ShardId ;
4644
45+ import java .util .Set ;
46+
4747import static org .elasticsearch .cluster .routing .allocation .DiskThresholdSettings .CLUSTER_ROUTING_ALLOCATION_HIGH_DISK_WATERMARK_SETTING ;
4848import static org .elasticsearch .cluster .routing .allocation .DiskThresholdSettings .CLUSTER_ROUTING_ALLOCATION_LOW_DISK_WATERMARK_SETTING ;
4949
6868 * exact byte values for free space (like "500mb")
6969 *
7070 * <code>cluster.routing.allocation.disk.threshold_enabled</code> is used to
71- * enable or disable this decider. It defaults to false (disabled ).
71+ * enable or disable this decider. It defaults to true (enabled ).
7272 */
7373public class DiskThresholdDecider extends AllocationDecider {
7474
You can’t perform that action at this time.
0 commit comments