hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jimmy Xiang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-7261) batchMutate/put release the same lock twice
Date Tue, 04 Dec 2012 01:02:24 GMT

     [ https://issues.apache.org/jira/browse/HBASE-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jimmy Xiang resolved HBASE-7261.
--------------------------------

    Resolution: Invalid

It is an issue with my patch for HBASE-6423 actually.  Closed as invalid.
                
> batchMutate/put release the same lock twice
> -------------------------------------------
>
>                 Key: HBASE-7261
>                 URL: https://issues.apache.org/jira/browse/HBASE-7261
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>
> Put uses batchMutate to do the actual work.  Put calls startRegionOperation/closeRegionOperation.
 BatchMutate does the same.  If the same thread already holds the lock, lock it again doesn't
increase the lock count.
> However, releasing lock is a little different.  If the lock is already released, IllegalMonitorStateException
will throw if it is released again.
> There could be other calls. I will look into it more.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message