Record Class BalancingRoundSummary.CombinedBalancingRoundSummary

java.lang.Object
java.lang.Record
org.elasticsearch.cluster.routing.allocation.allocator.BalancingRoundSummary.CombinedBalancingRoundSummary
Record Components:
numberOfBalancingRounds - How many balancing round summaries are combined in this report.
nodeToWeightChanges -
numberOfShardMoves - The sum of shard moves for each balancing round being combined into a single summary.
Enclosing class:
BalancingRoundSummary

public static record BalancingRoundSummary.CombinedBalancingRoundSummary(int numberOfBalancingRounds, Map<DiscoveryNode,org.elasticsearch.cluster.routing.allocation.allocator.BalancingRoundSummary.NodesWeightsChanges> nodeToWeightChanges, long numberOfShardMoves) extends Record
Holds combined BalancingRoundSummary results. Essentially holds a list of the balancing events and the summed up changes across all those events: what allocation work was done across some period of time. TODO: WIP ES-10341 Note that each balancing round summary is the difference between, at the time, latest desired balance and the previous desired balance. Each summary represents a step towards the next desired balance, which is based on presuming the previous desired balance is reached. So combining them is roughly the difference between the first summary's previous desired balance and the last summary's latest desired balance.