Zhe Zhang created HDFS-11157:
--------------------------------

             Summary: Enhance documentation around cpLock
                 Key: HDFS-11157
                 URL: https://issues.apache.org/jira/browse/HDFS-11157
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: documentation, ha, namenode
            Reporter: Zhe Zhang
            Priority: Minor


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?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to