You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Nanda kumar (JIRA)" <ji...@apache.org> on 2018/10/17 13:27:00 UTC

[jira] [Created] (HDDS-681) VolumeSet lock should not be exposed outside of VolumeSet class.

Nanda kumar created HDDS-681:
--------------------------------

             Summary: VolumeSet lock should not be exposed outside of VolumeSet class.
                 Key: HDDS-681
                 URL: https://issues.apache.org/jira/browse/HDDS-681
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: Ozone Datanode
            Reporter: Nanda kumar


If {{VolumeSet}} lock is exposed outside of {{VolumeSet}} class then someone who is using it can end up in deadlock situation easily. We should change the code in such a way that the lock is not exposed and the data structure inside VolumeSet is also protected by the lock.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org