comnetwork commented on code in PR #5817: URL: https://github.com/apache/hbase/pull/5817#discussion_r1565142498
########## hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncTableResultScanner.java: ########## @@ -143,6 +144,18 @@ private void resumePrefetch() { resumer = null; } + private void termianteResumerIfPossible() { + if (resumer == null) { + return; + } + if (resumer instanceof ScanResumerImpl) { + ((ScanResumerImpl) resumer).terminate(); Review Comment: @Apache9, Thank you for suggestion, I have added more comments. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org