csun5285 commented on code in PR #33076: URL: https://github.com/apache/doris/pull/33076#discussion_r1565128414
########## be/src/http/action/compaction_action.cpp: ########## @@ -243,7 +258,14 @@ Status CompactionAction::_execute_compaction_callback(TabletSharedPtr tablet, RETURN_IF_ERROR(compaction.prepare_compact()); return compaction.execute_compact(); }; - if (compaction_type == PARAM_COMPACTION_BASE) { + if (fetch_from_remote) { + SingleReplicaCompaction single_compaction(_engine, tablet); + res = do_compact(single_compaction); Review Comment: This has already been checked at line 148 -- 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