ZanderXu created HDFS-17385:
-------------------------------

             Summary: [FGL] Replace the global FS 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


Second, we can replace the global FS 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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to