You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "jojochuang (via GitHub)" <gi...@apache.org> on 2025/11/24 23:34:18 UTC

Re: [PR] HDDS-13983. Support full resource lock in PoolBasedHierarchicalLockManager [ozone]

jojochuang commented on code in PR #9353:
URL: https://github.com/apache/ozone/pull/9353#discussion_r2558037546


##########
hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/lock/PoolBasedHierarchicalResourceLockManager.java:
##########
@@ -144,6 +160,40 @@ public void close() {
     this.lockPool.close();
   }
 
+  /**
+   * The PoolBasedHierachicalResourceLock class implements the HierarchicalResourceLock
+   * and UncheckedAutoCloseable interfaces to manage hierarchical resource locks from
+   * a shared pool. It ensures proper lock acquisition and release during its lifecycle.
+   */
+  private final class PoolBasedHierachicalResourceLock implements HierarchicalResourceLock,

Review Comment:
   typo PoolBasedHierarchicalResourceLock



-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org