ashishkumar50 commented on code in PR #7377:
URL: https://github.com/apache/ozone/pull/7377#discussion_r1843173816
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMDirectoriesPurgeRequestWithFSO.java:
##########
@@ -168,7 +175,16 @@ public OMClientResponse
validateAndUpdateCache(OzoneManager ozoneManager, TermIn
volBucketInfoMap.putIfAbsent(volBucketPair, omBucketInfo);
}
}
+ deletingServiceMetrics.incrNumSubKeysPurged(numSubFilesDeleted);
+
deletingServiceMetrics.setNumSubKeysPurgedInLatestRequest(numSubFilesDeleted);
Review Comment:
This set should be done after loop?
--
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]