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

Guanghao Zhang commented on HBASE-18553:
----------------------------------------

{code}
if (!result.isCursor()) {
    cacheSize -= calcEstimatedSize(result);
    if (resumer != null && cacheSize <= maxCacheSize / 2) {
        resumePrefetch();
    }
}
{code}
The cursor result was added to the cache(when scan.isNeedCursorResult() is 
true), but didn't consider it's size?

> 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, HBASE-18553-v1.patch
>
>




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

Reply via email to