You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "farmmamba (Jira)" <ji...@apache.org> on 2023/08/30 07:15:00 UTC

[jira] [Created] (HDFS-17173) Whether the read lock in method moveBlockAcrossVolumes can be removed or not?

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