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

Duo Zhang commented on HBASE-18553:
-----------------------------------

After a deep thought, I think I need to create the scan cursor for size limit 
in {{AsyncScanSingleRegionRpcRetryingCaller}} because we may have a new row in 
the ScanResultCache but has not returned to user yet. User should start its 
scan from this row. If we let user implement the logic, it will be much more 
complex as he/she need to consider the direction of the scan, and test if the 
last result is partial, and use inclusive/exclusive when start the scan next 
time.

Will prepare a new patch soon.

> Expose scan cursor for asynchronous scanner
> -------------------------------------------
>
>                 Key: HBASE-18553
>                 URL: https://issues.apache.org/jira/browse/HBASE-18553
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 3.0.0, 2.0.0-alpha-1
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18553.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to