Tejaskriya commented on code in PR #7426:
URL: https://github.com/apache/ozone/pull/7426#discussion_r1851917778


##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/BlockDeletingService.java:
##########
@@ -127,12 +128,14 @@ public Long getNumBlocksToDelete() {
   public BackgroundTaskQueue getTasks() {
     BackgroundTaskQueue queue = new BackgroundTaskQueue();
 
+    metrics.resetLastIterationCounts();

Review Comment:
   I have changed it now, to store the counter and update the metrics only at 
the end of each iteration. COuld you please take a look at the update?



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