Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-17385

[FGL] Replace the global FS write locking with directory tree-based fine-grained locking

    XMLWordPrintableJSON

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

          Activity

            People

              xuzq_zander ZanderXu
              xuzq_zander ZanderXu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: