Skip to content

Commit 4e8319b

Browse files
fix style, that spotless didn't do?
1 parent a587de1 commit 4e8319b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/AllocationBalancingRoundSummaryService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ private void drainAndReportSummaries() {
202202
/**
203203
* Returns a combined summary of all unreported allocation round summaries: may summarize a single balancer round, multiple, or none.
204204
*
205-
* @return {@link BalancingRoundSummary.CombinedBalancingRoundSummary#EMPTY_RESULTS} if there are no balancing round summaries waiting to be reported.
205+
* @return {@link BalancingRoundSummary.CombinedBalancingRoundSummary#EMPTY_RESULTS} if there are no balancing round summaries waiting
206+
* to be reported.
206207
*/
207208
private BalancingRoundSummary.CombinedBalancingRoundSummary drainSummaries() {
208209
ArrayList<BalancingRoundSummary> batchOfSummaries = new ArrayList<>();

server/src/main/java/org/elasticsearch/cluster/routing/allocation/allocator/BalancingRoundSummary.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ public String toString() {
6666
* across all those events: what allocation work was done across some period of time.
6767
* TODO: WIP ES-10341
6868
*
69-
* Note that each balancing round summary is the difference between, at the time, latest desired balance and the previous desired balance.
70-
* Each summary represents a step towards the next desired balance, which is based on presuming the previous desired balance is reached. So
71-
* combining them is roughly the difference between the first summary's previous desired balance and the last summary's latest desired
72-
* balance.
69+
* Note that each balancing round summary is the difference between, at the time, latest desired balance and the previous desired
70+
* balance. Each summary represents a step towards the next desired balance, which is based on presuming the previous desired balance is
71+
* reached. So combining them is roughly the difference between the first summary's previous desired balance and the last summary's
72+
* latest desired balance.
7373
*
7474
* @param numberOfBalancingRounds How many balancing round summaries are combined in this report.
7575
* @param nodeNameToWeightChanges

0 commit comments

Comments
 (0)