You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/04/20 14:45:56 UTC

[GitHub] [ozone] rakeshadr commented on a diff in pull request #3308: HDDS-6580. Introduce KEY_PATH_LOCK under OzoneManagerLock.Resource

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


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/OzoneManagerLock.java:
##########
@@ -600,7 +604,8 @@ public enum Resource {
     USER_LOCK((byte) 3, "USER_LOCK"), // 15
 
     S3_SECRET_LOCK((byte) 4, "S3_SECRET_LOCK"), // 31
-    PREFIX_LOCK((byte) 5, "PREFIX_LOCK"); //63
+    KEY_PATH_LOCK((byte) 5, "KEY_PATH_LOCK"), //63

Review Comment:
   @tanvipenumudy please add one test case to cover the case where PREFIX_LOCK can be acquired after KEY_PATH_LOCK and reverse should throw exception.



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org