ChenSammi commented on code in PR #8009:
URL: https://github.com/apache/ozone/pull/8009#discussion_r1986726650
##########
hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/node/DiskBalancerManager.java:
##########
@@ -59,6 +59,8 @@ public class DiskBalancerManager {
private final NodeManager nodeManager;
private Map<DatanodeDetails, DiskBalancerStatus> statusMap;
private Map<DatanodeDetails, Long> balancedBytesMap;
+ private long successMoveCount;
Review Comment:
Move successMoveCount and failureMoveCount into DiskBalancerStatus.
successMoveCount and failureMoveCount are per datanode, not the sum of all
datanodes.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]