You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 17:20:00 UTC
[jira] [Reopened] (HBASE-8852) Close scanners when at end in Thrift 2
[ https://issues.apache.org/jira/browse/HBASE-8852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell reopened HBASE-8852:
----------------------------------------
Assignee: (was: Lars George)
> Close scanners when at end in Thrift 2
> --------------------------------------
>
> Key: HBASE-8852
> URL: https://issues.apache.org/jira/browse/HBASE-8852
> Project: HBase
> Issue Type: Sub-task
> Components: Thrift
> Reporter: Lars George
> Priority: Major
> Labels: thrift2
>
> HBASE-6073 adds the following to the overall patch:
> {code}
> - return resultsFromHBase(scanner.next(numRows));
> + List<TResult> results = resultsFromHBase(scanner.next(numRows));
> + if(results.size() < numRows) {
> + removeScanner(scannerId);
> + }
> + return results;
> {code}
> We need to see if we have to add this to Thrift2 as separate patch.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)