csun5285 commented on code in PR #38220: URL: https://github.com/apache/doris/pull/38220#discussion_r1695008929
########## be/src/olap/compaction.cpp: ########## @@ -1223,8 +1223,10 @@ Status CloudCompactionMixin::construct_output_rowset_writer(RowsetWriterContext& ctx.write_type = DataWriteType::TYPE_COMPACTION; auto compaction_policy = _tablet->tablet_meta()->compaction_policy(); - ctx.compaction_level = - _engine.cumu_compaction_policy(compaction_policy)->new_compaction_level(_input_rowsets); + if (_tablet->tablet_meta()->time_series_compaction_level_threshold() >= 2) { + ctx.compaction_level = _engine.cumu_compaction_policy(compaction_policy) Review Comment: If the compaction level is changed from 1 to 2, be restarts, it will continuously merge the rowsets that have already been merged。 -- 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