[ https://issues.apache.org/jira/browse/HDFS-17385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844164#comment-17844164 ]
ZanderXu commented on HDFS-17385: --------------------------------- The branch HDFS-17385 is ready. > [FGL] Replace the global FS write locking with directory tree-based > fine-grained locking > ---------------------------------------------------------------------------------------- > > Key: HDFS-17385 > URL: https://issues.apache.org/jira/browse/HDFS-17385 > Project: Hadoop HDFS > Issue Type: Improvement > Reporter: ZanderXu > Assignee: ZanderXu > Priority: Major > Labels: FGL > > Second, we can replace the global FS write locking with directory tree-based > fine-grained locking. > This ticket doesn't remove this global FS locking, it just replaces the > global FS write lock with the global FS read lock and directory tree-based > fine-grained lock. > For block-related operations and DN-related operations still need the global > BM lock. > > The lock order should be: > * The global FS lock > * The global BM lock > * The directory tree-based fine-grained lock > > This ticket should supports: > * End-user can choose lock mode > ** One global lock mode > ** Global FS lock and global BM lock mode > ** Global FS read lock, global BM lock and tree-based fine-grained lock -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org