yiguolei commented on code in PR #60367:
URL: https://github.com/apache/doris/pull/60367#discussion_r2772227633
##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -641,7 +674,17 @@ Status PipelineTask::do_revoke_memory(const
std::shared_ptr<SpillContext>& spill
}
}};
- return _sink->revoke_memory(_state, spill_context);
+ RETURN_IF_ERROR(_sink->revoke_memory(_state, nullptr));
+
+ for (const auto& op : _operators) {
+ RETURN_IF_ERROR(op->revoke_memory(_state, nullptr));
+ }
+
+ if (spill_context) {
+ spill_context->on_task_finished();
Review Comment:
之前这里没调用,为什么没报错?
--
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]