yiguolei commented on code in PR #62468:
URL: https://github.com/apache/doris/pull/62468#discussion_r3173818832
##########
be/src/exec/operator/partitioned_aggregation_source_operator.cpp:
##########
@@ -393,6 +393,10 @@ Status
PartitionedAggLocalState::_recover_blocks_from_partition(RuntimeState* st
}
}
+ if (state->is_cancelled()) {
Review Comment:
这个应该不是一个问题。 因为即使你这么改了代码,比如运行到return ok 之前才被cancel,此时就没办法判断应该返回cancel。
因为cancel的过程是一个异步的线程,所以所有的执行逻辑的地方只要能保证正常返回就可以了。
我们需要在pipeline task的execute 方法里,去检查这个,当我们执行完一个算子,要在执行下一个算子之前,检查一下是否cancel了。
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]