Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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
Attachments
Issue Links
- Is contained by
-
HDFS-17366 NameNode Fine-Grained Locking via Namespace Tree
- Open