hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guanghao Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18553) Expose scan cursor for asynchronous scanner
Date Wed, 16 Aug 2017 07:32:00 GMT

    [ 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)

Mime
View raw message