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

ASF GitHub Bot commented on HDFS-17387:
---------------------------------------

ferhui commented on code in PR #6572:
URL: https://github.com/apache/hadoop/pull/6572#discussion_r1503944791


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/fgl/MeasurableReentrantReadWriteLock.java:
##########


Review Comment:
   Is it used for tracking performance? seems unrelated to make the locking 
mode configurable.





> [FGL] Abstract the configurable locking mode
> --------------------------------------------
>
>                 Key: HDFS-17387
>                 URL: https://issues.apache.org/jira/browse/HDFS-17387
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>              Labels: pull-request-available
>
> Abstract a lock mode to cover the current global lock and the new 
> fine-grained lock(global FS lock and global BM lock).
> End-user can select to use lock mode through configuration.
> The possible lock modes after this patch are as follows:
>  * GLOBAL Lock
>  * FS Lock
>  * BM Lock



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
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