swamirishi opened a new pull request, #8077:
URL: https://github.com/apache/ozone/pull/8077

   ## What changes were proposed in this pull request?
   Currently on Deserialization of a bulky OmKeyInfo & OmDirectoryInfo takes a 
really long time if the key has too many Acls and a good amount of time is 
spent in the following function while converting a proto KeyInfo to Java 
OmKeyInfo
   
https://github.com/apache/ozone/blob/2f3150ab68183b8db61ee758c793fd4c1e1ee594/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OzoneAclUtil.java#L194
   This patch proposes to lazily load the acl info if the object is going to be 
only read and in most of the flows these ACLs are never used and we end up 
wasting CPU in deserializing the entire ACL info.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-12600
   
   ## How was this patch tested?
   Existing unit tests & performance benchmarking in progress.


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