wenzhenghu commented on code in PR #62468:
URL: https://github.com/apache/doris/pull/62468#discussion_r3175810152
##########
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:
确实,cancel操作的处理无法面面俱到,我担心的是识别cancel标志后,没有做任何处理,而是返回ok,继续按照正常逻辑往下执行有风险。这样处理不能保证不会访问野指针或未初始化的内存导致crash,就算现在测试过没问题,也无法一直保证后续相关代码变更后都不出问题
@yiguolei
--
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]