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

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

ZanderXu commented on PR #4942:
URL: https://github.com/apache/hadoop/pull/4942#issuecomment-1261850915

   @Hexiaoqiao @MingXiangLi Sir, can you help me reivew this PR? 
   `volumeMap.replicas` already acquired the BP read lock, so here we can 
remove the redundant lock.




> Remove the redundant lock in deepCopyReplica
> --------------------------------------------
>
>                 Key: HDFS-16783
>                 URL: https://issues.apache.org/jira/browse/HDFS-16783
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>              Labels: pull-request-available
>
> When patching the fine-grained locking of datanode, found there is a 
> redundant lock in deepCopyReplica, maybe we can remove it.



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

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

Reply via email to