hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6839) Operations may be executed without rowLock
Date Wed, 19 Sep 2012 08:31:07 GMT

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

chunhui shen updated HBASE-6839:

    Attachment: HBASE-6839.patch

In the patch, if timeout when obtain the row lock, then throws an IOException.

Another way to fix this case is no timeout for obtaining row lock, block until obtained...
> Operations may be executed without rowLock
> ------------------------------------------
>                 Key: HBASE-6839
>                 URL: https://issues.apache.org/jira/browse/HBASE-6839
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>            Priority: Critical
>             Fix For: 0.96.0
>         Attachments: HBASE-6839.patch
> HRegion#internalObtainRowLock will return null if timed out,
> but many place which call this method don't handle this case
> The bad result is operation will be executed even if it havn't obtained the row lock.
Such as put、delete、increment。。。

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

View raw message