github-actions[bot] commented on code in PR #62596:
URL: https://github.com/apache/doris/pull/62596#discussion_r3108222743
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/AdminCompactTableCommand.java:
##########
@@ -51,7 +46,8 @@ public class AdminCompactTableCommand extends Command
implements ForwardWithSync
*/
public enum CompactionType {
CUMULATIVE,
- BASE
Review Comment:
`FULL` / cloud enablement here is still not rolling-upgrade safe. On the
older local BE implementation, `submit_table_compaction_callback()` maps every
non-`"base"` request to cumulative compaction, so a new FE can silently run the
wrong operation for `type='FULL'`. On the older cloud BE implementation,
`cloud_start_workers()` still has no `TTaskType::COMPACTION` worker at all, and
`AgentBatchTask.run()` ignores the non-OK `submit_tasks()` result, so the SQL
can return success while nothing is dispatched. This needs a fail-fast FE-side
capability/version gate (or the old cloud-mode restriction) until all BEs are
guaranteed to understand the new behavior.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]