errose28 commented on code in PR #8448:
URL: https://github.com/apache/ozone/pull/8448#discussion_r2157801414


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/volume/StorageVolumeChecker.java:
##########
@@ -232,7 +244,7 @@ public Set<? extends StorageVolume> checkAllVolumes(
           maxAllowedTimeForCheckMs);
     }
 
-    numAllVolumeChecks.incrementAndGet();
+    metrics.incNumScanIterations();

Review Comment:
   Yes `numScanIterations` should capture the number of times the background 
volume scanner ran, regardless of how many volumes it scanned at that time.



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