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


##########
be/src/exec/sink/writer/async_result_writer.cpp:
##########
@@ -45,6 +45,8 @@ Status AsyncResultWriter::sink(Block* block, bool eos) {
         add_block = _get_free_block(block, rows);
     }
 
+    // The pipeline reservation protects allocations performed after this 
block is dequeued.
+    auto reservation = 
thread_context()->thread_mem_tracker_mgr->take_reserved_memory();

Review Comment:
   这个async writer queue 的memory 相关的先不要处理了。
   我们现在queue 的各种内存的处理方式有点多,我们想好再做吧。
   当前的代码应该是5个block,我们先保持原样吧



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