eldenmoon commented on code in PR #26749: URL: https://github.com/apache/doris/pull/26749#discussion_r1405920546
########## be/src/olap/rowset/segment_creator.cpp: ########## @@ -280,6 +441,17 @@ Status SegmentCreator::add_block(const vectorized::Block* block) { size_t row_avg_size_in_bytes = std::max((size_t)1, block_size_in_bytes / block_row_num); size_t row_offset = 0; + if (_segment_flusher.need_buffering()) { + const static int MAX_BUFFER_SIZE = config::flushing_block_buffer_size_bytes; // 400M Review Comment: done -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org