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: [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]