yixiutt commented on code in PR #11542: URL: https://github.com/apache/doris/pull/11542#discussion_r938571234
########## be/src/olap/base_compaction.cpp: ########## @@ -81,16 +84,35 @@ Status BaseCompaction::execute_compact_impl() { return Status::OK(); } +void BaseCompaction::_filter_input_rowset() { + // if enable dup key skip big file and no delete predicate + // we skip big files too save resources + if (!config::enable_dup_key_base_compaction_skip_big_file || + _tablet->keys_type() != KeysType::DUP_KEYS || _tablet->delete_predicates().size() != 0) { + return; + } + int64_t max_size = config::base_compaction_dup_key_max_file_size_mbytes; Review Comment: fixed -- 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