bbeaudreault commented on code in PR #4967: URL: https://github.com/apache/hbase/pull/4967#discussion_r1073489990
########## hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionScannerImpl.java: ########## @@ -608,6 +610,11 @@ private boolean nextInternal(List<Cell> results, ScannerContext scannerContext) return scannerContext.setScannerState(NextState.NO_MORE_VALUES).hasMoreValues(); } if (!shouldStop) { + // Read nothing as the cells were filtered, but still need to check time limit. Review Comment: To be honest, I think this should have been here all along and was just missed along the way. I'm not sure why we'd want to check time limit for the nextRow calls above but not this one. This check here ensures that populating from joined heap + nextRow does not exceed time or (new) size limit. -- 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