Skip to content

Commit

Permalink
add excludeSourceNodes.size excludeTargetNodes.size to balancer param…
Browse files Browse the repository at this point in the history
…eters toString()
  • Loading branch information
Joseph DellAringa committed Oct 21, 2024
1 parent 6d153eb commit 7786da3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,15 @@ public String toString() {
return String.format("%s.%s [%s," + " threshold = %s,"
+ " max idle iteration = %s," + " #excluded nodes = %s,"
+ " #included nodes = %s," + " #source nodes = %s,"
+ " #target nodes = %s,"
+ " #excluded source nodes = %s," + " #target nodes = %s,"
+ " #excluded target nodes = %s,"
+ " #blockpools = %s," + " run during upgrade = %s,"
+ " sort top nodes = %s,"
+ " hot block time interval = %s]",
Balancer.class.getSimpleName(), getClass().getSimpleName(), policy,
threshold, maxIdleIteration, excludedNodes.size(),
includedNodes.size(), sourceNodes.size(), targetNodes.size(), blockpools.size(),
runDuringUpgrade, sortTopNodes, hotBlockTimeInterval);
includedNodes.size(), sourceNodes.size(), excludedSourceNodes.size(), targetNodes.size(),
excludedTargetNodes.size(), blockpools.size(), runDuringUpgrade, sortTopNodes, hotBlockTimeInterval);
}

static class Builder {
Expand Down

0 comments on commit 7786da3

Please sign in to comment.