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

Rajeshbabu Chintaguntla commented on PHOENIX-2903:
--------------------------------------------------

No..region.startRegionOperation() acquire read lock so there won't be any split 
till the scanners created.  We are not scanning any record to identify the 
split here.

I hope we are discussing with respect to these lines only(if something else pls 
forgive me I have missed that part)
{noformat}
+                    // Check again while we have the region lock as it's 
possible
+                    // we've split after the check we did in preScannerOpen()
+                    throwIfScanOutOfRegion(scan, 
c.getEnvironment().getRegion());
{noformat}


> Handle split during scan for row key ordered aggregations
> ---------------------------------------------------------
>
>                 Key: PHOENIX-2903
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2903
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: James Taylor
>         Attachments: PHOENIX-2903_v1.patch, PHOENIX-2903_wip.patch
>
>
> Currently a hole in our split detection code



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

Reply via email to