farmmamba created HDFS-17173:
--------------------------------

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


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

Reply via email to