keith-turner commented on code in PR #5596:
URL: https://github.com/apache/accumulo/pull/5596#discussion_r2114675754


##########
test/src/main/java/org/apache/accumulo/test/ChaoticLoadBalancer.java:
##########
@@ -66,37 +67,23 @@ public void init(BalancerEnvironment balancerEnvironment) {
 
   @Override
   public void getAssignments(AssignmentParameters params) {
-    long total = params.unassignedTablets().size();
-    long avg = (long) Math.ceil(((double) total) / 
params.currentStatus().size());

Review Comment:
   When assigning only the root tablet this would compute 1 for avg.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to