yixiutt commented on code in PR #13495:
URL: https://github.com/apache/doris/pull/13495#discussion_r1000322963


##########
be/src/olap/delta_writer.cpp:
##########
@@ -114,9 +114,8 @@ Status DeltaWriter::init() {
     // check tablet version number
     if (_tablet->version_count() > config::max_tablet_version_num) {

Review Comment:
   add a logic:
   if (_tablet->version_count() > config::max_tablet_version_num - 100) trigger 
compaction. 
   
   And I‘ve test this patch with flink checkpoint 1s and 20 concurrency stream 
load, compaction is under 40



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

Reply via email to