npawar commented on a change in pull request #7769: URL: https://github.com/apache/pinot/pull/7769#discussion_r749761204
########## File path: pinot-core/src/main/java/org/apache/pinot/core/operator/AcquireReleaseColumnsSegmentOperator.java ########## @@ -64,6 +65,10 @@ protected IntermediateResultsBlock getNextBlock() { * Acquires the indexSegment using the provided fetchContext */ public void acquire() { + // do not acquire if interrupted (similar to the check inside the nextBlock()) + if (Thread.currentThread().isInterrupted()) { Review comment: i had actually intentionally used the way which doesn't clear the flag. But makes sense to clear it, so that it is consistent with how it is in `nextBlock` -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org