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

farmmamba commented on HDFS-17173:
----------------------------------

[~hexiaoqiao] [~tomscut] [~zhangshuyan] Sir, could you please help me figure 
out this problem when you have free time?

> Whether the read lock in method moveBlockAcrossVolumes can be removed or not?
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-17173
>                 URL: https://issues.apache.org/jira/browse/HDFS-17173
>             Project: Hadoop HDFS
>          Issue Type: Wish
>          Components: datanode
>    Affects Versions: 3.4.0
>            Reporter: farmmamba
>            Assignee: farmmamba
>            Priority: Minor
>
> In method FsDatasetImpl#moveBlockAcrossVolumes, obtaining volumeRef is 
> guarded by 
> LockLevel.BLOCK_POOl read lock. It seems unnecessary.



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