HonestManXin commented on code in PR #67228:
URL: https://github.com/apache/doris/pull/67228#discussion_r4128932871
##########
be/src/service/point_query_executor.cpp:
##########
@@ -212,8 +218,9 @@ void Reusable::return_block(std::unique_ptr<Block>& block) {
}
block->clear_column_data();
_block_pool.push_back(std::move(block));
- if (_block_pool.size() > s_preallocted_blocks_num) {
- _block_pool.resize(s_preallocted_blocks_num);
+ const auto block_pool_size = lookup_connection_cache_block_pool_size();
Review Comment:
The new limit applies to newly created cache entries immediately, while
existing entries converge to the new limit when they are reused or evicted.
--
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]