sadanand48 commented on a change in pull request #1832:
URL: https://github.com/apache/ozone/pull/1832#discussion_r563027732
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/TrashOzoneFileSystem.java
##########
@@ -386,6 +393,7 @@ boolean processKeyPath(List<String> keyPathList) {
OzoneManagerProtocolProtos.OMRequest omRequest =
getRenameKeyRequest(src, dst);
try {
+ ozoneManager.getMetrics().incNumTrashFilesRenames();
Review comment:
`numTrashRenames` would count the renames on the directory while
`numTrashFileRenames` would count renames on each file of the directory.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]