rakeshadr commented on code in PR #3424:
URL: https://github.com/apache/ozone/pull/3424#discussion_r876900778


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/OzoneManagerLock.java:
##########
@@ -202,6 +196,26 @@ private boolean lock(Resource resource, String 
resourceName,
     }
   }
 
+  private void updateLockMetrics(Resource resource, String resourceName,

Review Comment:
   Please rename the method as its doing actual locking as well as updating 
metrics.



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