-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Introduce AllocationBalancingRoundSummaryService #120957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce AllocationBalancingRoundSummaryService #120957
Conversation
This service is added to the desired balance allocator to track and report on balancer round activity. It is a WIP and currently only tracks the number of shard moves caused by a balancing round. Reporting balancer round summary results will provide information with which to do cost-benefit analyses of the work that shard allocation rebalancing executes.
|
Pinging @elastic/es-distributed-coordination (Team:Distributed Coordination) |
4e0b59f to
42103ca
Compare
|
Hi @DiannaHohensee, I've created a changelog YAML for you. |
| public static final Setting<TimeValue> BALANCER_ROUND_SUMMARIES_LOG_INTERVAL_SETTING = Setting.timeSetting( | ||
| "cluster.routing.allocation.desired_balance.balanace_round_summaries_interval", | ||
| TimeValue.timeValueSeconds(10), | ||
| TimeValue.ZERO, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It says above
If less than zero, effectively disables reporting.
but the minimum is zero (I think?)
Either comment or code is out of date I think
nicktindall
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
...asticsearch/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryService.java
Outdated
Show resolved
Hide resolved
...search/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryServiceTests.java
Show resolved
Hide resolved
...search/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryServiceTests.java
Show resolved
Hide resolved
...search/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryServiceTests.java
Show resolved
Hide resolved
...search/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryServiceTests.java
Outdated
Show resolved
Hide resolved
...asticsearch/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryService.java
Outdated
Show resolved
Hide resolved
DiannaHohensee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching the details @nicktindall
This service is added to the desired balance allocator to track and
report on balancer round activity. It is a WIP and currently only
tracks the number of shard moves caused by a balancing round.
Reporting balancer round summary results will provide information
with which to do cost-benefit analyses of the work that shard
allocation rebalancing executes. It is disabled by default.
Relates ES-10341