yiguolei commented on code in PR #60367:
URL: https://github.com/apache/doris/pull/60367#discussion_r2772235869


##########
be/src/pipeline/pipeline_task.cpp:
##########
@@ -866,7 +952,12 @@ Status PipelineTask::revoke_memory(const 
std::shared_ptr<SpillContext>& spill_co
         return Status::OK();
     }
 
-    const auto revocable_size = _sink->revocable_mem_size(_state);
+    size_t revocable_size = 0;
+    revocable_size += _sink->revocable_mem_size(_state);
+    for (const auto& op : _operators) {
+        revocable_size += op->revocable_mem_size(_state);

Review Comment:
   每个operator 会有revocable_mem_size 吗?



-- 
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]

Reply via email to