sodonnel opened a new pull request, #7410: URL: https://github.com/apache/ozone/pull/7410
## What changes were proposed in this pull request? As we iterate keys in the listKeys API there is logic to resolve the FSO path to the key which is quite expensive in aggregate over many keys. As we iterate the keys in order, it is highly likely there will be consecutive keys with the same parent folder and hence prefix. Therefore, we should save the prefix prefix and if the current parentID is equal to the previous one, simple reuse it, avoiding all the path construction work. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-11668 ## How was this patch tested? Existing tests -- 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]
