You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Samarth Jain (JIRA)" <ji...@apache.org> on 2016/10/27 06:48:58 UTC

[jira] [Commented] (PHOENIX-3407) Read only RowLock may lead to corrupting SYSTEM.CATALOG and non atomic sequences

    [ https://issues.apache.org/jira/browse/PHOENIX-3407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15610916#comment-15610916 ] 

Samarth Jain commented on PHOENIX-3407:
---------------------------------------

+1

> Read only RowLock may lead to corrupting SYSTEM.CATALOG and non atomic sequences
> --------------------------------------------------------------------------------
>
>                 Key: PHOENIX-3407
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3407
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.9.0, 4.8.2
>            Reporter: James Taylor
>            Assignee: James Taylor
>            Priority: Blocker
>         Attachments: PHOENIX-3407.patch
>
>
> We're taking a reentrant read lock when we should be taking a write lock in MetaDataEndPointImpl:
> {code}
>         RowLock rowLock = region.getRowLock(key, true);
> {code}
> Not sure if the HBase API changed at some point, but I could have sworn the boolean was for whether or not you wanted to block.



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