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

Reply via email to