chenlinzhong commented on code in PR #9804: URL: https://github.com/apache/incubator-doris/pull/9804#discussion_r885687355
########## be/src/olap/delta_writer.cpp: ########## @@ -98,6 +100,8 @@ Status DeltaWriter::init() { MemTracker::create_tracker(-1, "DeltaWriter:" + std::to_string(_tablet->tablet_id())); // check tablet version number if (_tablet->version_count() > config::max_tablet_version_num) { + //trigger samll compaction + StorageEngine::instance()->submit_samll_compaction_task(_tablet); Review Comment: > should we check whether to pass this check after small compaction? Small version merging is asynchronous, which is unlikely to be completed in a short time, so it is not necessary to check here -- 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