virajjasani commented on code in PR #1736: URL: https://github.com/apache/phoenix/pull/1736#discussion_r1458484212
########## phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/PagingRegionScanner.java: ########## @@ -72,15 +96,10 @@ private boolean next(List<Cell> results, boolean raw) throws IOException { // There is no more row from the HBase region scanner. We need to check if PageFilter // has stopped the region scanner if (pagingFilter.isStopped()) { - // Close the current region scanner, start a new one and return a dummy result - delegate.close(); - byte[] rowKey = pagingFilter.getRowKeyAtStop(); - boolean isInclusive = pagingFilter.isNextRowInclusive(); - scan.withStartRow(rowKey, isInclusive); - delegate = region.getScanner(scan); + byte[] rowKey = pagingFilter.getCurrentRowKeyToBeExcluded(); Review Comment: Done -- 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...@phoenix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org