You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2015/02/18 21:56:14 UTC

[jira] [Commented] (PHOENIX-1672) RegionScanner.nextRaw contract not implemented correctly

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

Lars Hofhansl commented on PHOENIX-1672:
----------------------------------------

And it might have been my fault, I think I said in the past that locking isn't necessary as long as there is only one caller.

> RegionScanner.nextRaw contract not implemented correctly
> --------------------------------------------------------
>
>                 Key: PHOENIX-1672
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-1672
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>
> The nextRaw() contract (per Javadoc) requires the caller to hold a lock on the RegionScannerImpl object. Phoenix' *Aggregate observers do not do that as far as I can see.
> That might accidentally work but it not guaranteed to remain that way.



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