npawar commented on a change in pull request #7493: URL: https://github.com/apache/pinot/pull/7493#discussion_r718839226
########## File path: pinot-core/src/main/java/org/apache/pinot/core/operator/combine/BaseCombineOperator.java ########## @@ -153,7 +154,18 @@ public void runJob() { */ protected void processSegments(int threadIndex) { for (int operatorIndex = threadIndex; operatorIndex < _numOperators; operatorIndex += _numThreads) { - IntermediateResultsBlock resultsBlock = (IntermediateResultsBlock) _operators.get(operatorIndex).nextBlock(); + Operator operator = _operators.get(operatorIndex); + IntermediateResultsBlock resultsBlock; + try { + if (operator instanceof AcquireReleaseColumnsSegmentOperator) { + ((AcquireReleaseColumnsSegmentOperator) operator).acquire(); + } Review comment: following up to our offline discussion about it not following lock/unlock semantics, will stick to this for now and revisit if need be, since functionality wise it's the same -- 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