You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Rajeshbabu Chintaguntla (JIRA)" <ji...@apache.org> on 2016/01/28 17:22:40 UTC

[jira] [Updated] (PHOENIX-2628) Ensure split when iterating through results handled correctly

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

Rajeshbabu Chintaguntla updated PHOENIX-2628:
---------------------------------------------
    Attachment: PHOENIX-2628.patch

just landing the tests to check ChunkedResultIterator and RoundRobinIterators . The test with local indexes fails with StaleRegionBoundaryException.

Aggregation queries should be fine with splits and merges because at server we are running aggregations under read locks (region.startRegionOperation()). The regions won't be closed even though there are splits while performing aggregation operation and once the aggregations over we create scanners wrapping the aggregations cache so hbase client won't throw any exceptions. 
Still trying to write some tests for this.

> Ensure split when iterating through results handled correctly
> -------------------------------------------------------------
>
>                 Key: PHOENIX-2628
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2628
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>         Attachments: PHOENIX-2628.patch
>
>
> We should start with a test case to ensure this works correctly, both for scans and aggregates.



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