adoroszlai commented on code in PR #10364:
URL: https://github.com/apache/ozone/pull/10364#discussion_r3308566607


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/diskbalancer/DiskBalancerService.java:
##########
@@ -634,7 +646,8 @@ public BackgroundTaskResult call() {
         }
         if (moveSucceeded && newContainer != null) {
           // Add current old container to pendingDeletionContainers.
-          pendingDeletionContainers.put(System.currentTimeMillis() + 
replicaDeletionDelay, container);
+          pendingDeletionContainers.put(clock.millis() + replicaDeletionDelay,
+              container);

Review Comment:
   nit: This line got shorter, so there was no need to wrap.  Please adjust 
line length in your IDE to 120 to avoid it in the future.



-- 
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]

Reply via email to