You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Stephen Yuan Jiang (JIRA)" <ji...@apache.org> on 2016/07/15 00:32:20 UTC

[jira] [Created] (HBASE-16233) Procedure V2: Support acquire/release shared table lock concurrently

Stephen Yuan Jiang created HBASE-16233:
------------------------------------------

             Summary: Procedure V2: Support acquire/release shared table lock concurrently
                 Key: HBASE-16233
                 URL: https://issues.apache.org/jira/browse/HBASE-16233
             Project: HBase
          Issue Type: Sub-task
          Components: proc-v2
            Reporter: Stephen Yuan Jiang
            Assignee: Stephen Yuan Jiang


{{MasterProcedureScheduler.TableQueue}} class only has one single instance of TableLock ({{private TableLock tableLock = null;}}) to track exclusive/shared table lock from TableLockManager.  

When multiple shared lock request comes, the later shared lock request would overwrite the lock acquired from earlier shared lock request, and hence, we will get some weird error when the second or later release lock request comes, because we lose track of the lock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)