Skip to content

Commit

Permalink
Add warning on desired balancer heuristics (elastic#102633)
Browse files Browse the repository at this point in the history
To avoid changing them.
  • Loading branch information
kingherc authored Nov 27, 2023
1 parent c4b3842 commit 37b7dd9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/reference/modules/cluster/shards_allocation.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,13 @@ The minimum improvement in weight which triggers a rebalancing shard movement.
Defaults to `1.0f`. Raising this value will cause {es} to stop rebalancing
shards sooner, leaving the cluster in a more unbalanced state.

NOTE: Regardless of the result of the balancing algorithm, rebalancing might
[NOTE]
====
* It is not recommended to adjust the values of the heuristics settings. The
default values are generally good, and although different values may improve
the current balance, it is possible that they create problems in the future
if the cluster or workload changes.
* Regardless of the result of the balancing algorithm, rebalancing might
not be allowed due to allocation rules such as forced awareness and allocation
filtering.
====

0 comments on commit 37b7dd9

Please sign in to comment.