Skip to content

Commit 98641ff

Browse files
tcucchiettidakrone
authored andcommitted
Update DiskThresholdDecider javadoc
Since v1.3.0, and issue #6201, the default values in code and documentation have been updated to 85% and 90% for low and high watermarks. However, the related javadoc still contains the initial values : this commit fix this.
1 parent 9ef69f9 commit 98641ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/elasticsearch/cluster/routing/allocation/decider/DiskThresholdDecider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@
5050
* <code>cluster.routing.allocation.disk.watermark.low</code> is the low disk
5151
* watermark. New shards will not allocated to a node with usage higher than this,
5252
* although this watermark may be passed by allocating a shard. It defaults to
53-
* 0.70 (70.0%).
53+
* 0.85 (85.0%).
5454
*
5555
* <code>cluster.routing.allocation.disk.watermark.high</code> is the high disk
5656
* watermark. If a node has usage higher than this, shards are not allowed to
5757
* remain on the node. In addition, if allocating a shard to a node causes the
5858
* node to pass this watermark, it will not be allowed. It defaults to
59-
* 0.85 (85.0%).
59+
* 0.90 (90.0%).
6060
*
6161
* Both watermark settings are expressed in terms of used disk percentage, or
6262
* exact byte values for free space (like "500mb")

0 commit comments

Comments
 (0)