You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "ZanderXu (Jira)" <ji...@apache.org> on 2024/02/19 06:59:00 UTC
[jira] [Created] (HDFS-17385) [FGL] Replace the global FS locking with directory tree-based fine-grained locking
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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org