You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/20 08:44:46 UTC

[GitHub] [doris] yixiutt commented on a diff in pull request #13495: [enhancement](compaction) opt compaction task producer and quick compaction

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-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org