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 "Lokesh Jain (JIRA)" <ji...@apache.org> on 2019/03/05 13:22:00 UTC

[jira] [Created] (HDDS-1220) KeyManager#openKey should release the bucket lock before doing an allocateBlock

Lokesh Jain created HDDS-1220:
---------------------------------

             Summary: KeyManager#openKey should release the bucket lock before doing an allocateBlock
                 Key: HDDS-1220
                 URL: https://issues.apache.org/jira/browse/HDDS-1220
             Project: Hadoop Distributed Data Store
          Issue Type: Bug
            Reporter: Lokesh Jain
            Assignee: Lokesh Jain


Currently KeyManager#openKey makes an allocateBlock call without releasing the bucket lock. Since allocateBlock requires a rpc connection to SCM, the handler thread in OM would hold the bucket lock until rpc is complete. Since allocateBlock call does not require a bucket lock to be held, allocateBlock call can be made after releasing the bucket 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