You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2014/07/02 10:00:46 UTC

[jira] [Commented] (PHOENIX-1053) UngroupedAggregateRegionObserver make lock unlock

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

James Taylor commented on PHOENIX-1053:
---------------------------------------

+1 on the patch. Thanks for the fix, [~jaywong]. Would someone please commit this as I'm out for another couple of weeks? [~stoens]? [~jeffreyz]?

> UngroupedAggregateRegionObserver make lock unlock
> -------------------------------------------------
>
>                 Key: PHOENIX-1053
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1053
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: jay wong
>             Fix For: 3.1
>
>         Attachments: PHOENIX-1053.patch
>
>
> {code}
> region.startRegionOperation();
> try {
>  //do something
> } finally {
> innerScanner.close();
> region.closeRegionOperation();
> }
> {code}
> but when innerScanner.close() throw a exception. the lock will not be unlock .



--
This message was sent by Atlassian JIRA
(v6.2#6252)