[ 
https://issues.apache.org/jira/browse/HDFS-11157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15677451#comment-15677451
 ] 

Zhe Zhang commented on HDFS-11157:
----------------------------------

Pinging [~kihwal] [~andrew.wang] [~atm] to share some thoughts.

> 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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to