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


##########
be/src/vec/exec/scan/scanner_context.cpp:
##########
@@ -154,6 +147,7 @@ void 
ScannerContext::return_free_block(std::unique_ptr<vectorized::Block> block)
     _free_blocks_memory_usage->add(block->allocated_bytes());
     std::lock_guard l(_free_blocks_lock);
     _free_blocks.emplace_back(std::move(block));
+    ++_free_blocks_capacity;

Review Comment:
   有没有一个可能,假如scanner 一直被调度,然后free blocks capacity 就会从刚开始的5一直增长,可能很大的值?



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