ZanderXu created HDFS-17492: ------------------------------- Summary: [FGL] Abstract a INodeLockManager to mange acquiring and releasing locks in the directory-tree Key: HDFS-17492 URL: https://issues.apache.org/jira/browse/HDFS-17492 Project: Hadoop HDFS Issue Type: Sub-task Reporter: ZanderXu Assignee: ZanderXu
Abstract a INodeLockManager to mange acquiring and releasing locks in the directory-tree. # Abstract a lock type to cover all cases in NN # Acquire the full path lock for the input path base on the input lock type # Acquire the full path lock for the input iNodeId base on the input lock type # Acquire the full path lock for some input paths, such as for rename, concat INodeLockManager should returns an IIP which contains both iNodes and locks. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org