swamirishi opened a new pull request, #9160: URL: https://github.com/apache/ozone/pull/9160
## What changes were proposed in this pull request? Have PoolBasedHierarchicalResourceLockManager which would implement the class HierachicalResourceLockManager backed by generic object pool and ConcurrentHashMap enabling acquiring read write locks on resources with a deterministic order which is not possible with a stripe based locking. This is required for acquiring locks on chain while iterating through the snapshot chain. FYI this can be reused for FSO path locking while path resolution.(OM leader execution charter) ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13798 ## How was this patch tested? Added unit test -- 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]
