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

Enhance documentation around cpLock

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: documentation, ha, namenode
    • Labels:
      None
    • Target Version/s:

      Description

      The cpLock was introduced in HDFS-7097. Among all operations allowed on SbNN, some acquire this lock (e.g. restoreFailedStorage) and some do not, including metasave, refreshNodes, setSafeMode.

      We should enhance the documentation around cpLock to explain the above. Also, maybe metasave and refreshNodes do not need fsn write lock?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                zhz Zhe Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: