ivandika3 commented on code in PR #6068:
URL: https://github.com/apache/ozone/pull/6068#discussion_r1464380672


##########
hadoop-ozone/interface-storage/src/main/java/org/apache/hadoop/ozone/om/helpers/OmPrefixInfo.java:
##########
@@ -184,7 +184,7 @@ public static OmPrefixInfo 
getFromProtobuf(PersistedPrefixInfo prefixInfo) {
           .getFromProtobuf(prefixInfo.getMetadataList()));
     }
     if (prefixInfo.getAclsList() != null) {
-      opib.setAcls(OzoneAclStorageUtil.fromProtobuf(prefixInfo.getAclsList()));
+      opib.setAcls(OzoneAclUtil.fromProtobuf(prefixInfo.getAclsList()));

Review Comment:
   Thank you for the review. I have tested it, and there was no compatibility 
issue.
   
   Testing steps:
   1. Deploy OM using 1.4.0-rc1 (without this patch)
   2. Create a prefix (`ozone sh prefix addacl --acls="group:ozone:w" 
//dev/vol1/test-bucket/prefix/`)
   3. Deploy OM using this patch
   4. Read the same prefix (`ozone sh prefix getacl 
o3://dev/vol1/test-bucket/prefix/`)
   5. Add another prefix (`ozone sh prefix addacl --acls="user:testuser:w" 
//dev/vol1/test-bucket/prefix/`)



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