ZanderXu created HDFS-17386:
-------------------------------

             Summary: [FGL] Replace the global BM lock with directory 
tree-based fine-grained lock
                 Key: HDFS-17386
                 URL: https://issues.apache.org/jira/browse/HDFS-17386
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: ZanderXu


Third, we need to replace the global BM lock with the directory tree-based 
fine-grained locking.

All fine-grained locking tasks will be completed after this ticket.

The final lock mode is:
 * The global FS read lock
 * The directory tree-based fine-grained lock

 

Before this ticket, we need to revert some features first, which introduced 
complex block dependencies, such as: HDFS-13671.

Since directory tree-based fine-grained locking only need to hold the write 
lock of the underlaying child and the read lock of the parent or ancestor 
directory, meta information changes for the parent or ancestor directory are 
eventually consistent, such as: storage policy and quota.

This ticket will change some current implementation, so it's hard to let 
end-user to choose to use lock mode through configuration.



--
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