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

Hudson commented on HBASE-28509:
--------------------------------

Results for branch master
        [build #1056 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1056/]: 
(/) *{color:green}+1 overall{color}*
----
details (if available):

(/) {color:green}+1 general checks{color}
-- For more information [see general 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1056/General_20Nightly_20Build_20Report/]




(/) {color:green}+1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1056/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 
report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/master/1056/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]


(/) {color:green}+1 source release artifact{color}
-- See build output for details.


(/) {color:green}+1 client integration test{color}


> ScanResumer.resume would perform unnecessary scan when close 
> AsyncTableResultScanner
> ------------------------------------------------------------------------------------
>
>                 Key: HBASE-28509
>                 URL: https://issues.apache.org/jira/browse/HBASE-28509
>             Project: HBase
>          Issue Type: Improvement
>          Components: asyncclient
>    Affects Versions: 2.6.0, 4.0.0-alpha-1, 3.0.0-beta-2
>            Reporter: chenglei
>            Assignee: chenglei
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.6.1
>
>
> When we invoke {{AsyncTableResultScanner.close}},  
> {{AsyncTableResultScanner.resultQueue}} is cleared and 
> {{AsyncTableResultScanner.closed}} is set to true, and we do not need any 
> more scan results. But if there is a {{ScanResumser}}, {{ScanResumer.resume}} 
> would be invoked to perform another unnecessary scan on {{RegionServer}} and 
> call {{AsyncTableResultScanner.onNext}} again when {{ScanResponse}} is 
> received.  {{AsyncTableResultScanner.onNext}}  would do nothing else but just 
> discard scan results because {{AsyncTableResultScanner.closed}} is true.  We 
> could save this unnecessary scan on {{RegionServer}} and close scanner 
> directly .



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to