diff --git a/ams/server/src/main/java/com/netease/arctic/server/table/executor/TableRuntimeRefreshExecutor.java b/ams/server/src/main/java/com/netease/arctic/server/table/executor/TableRuntimeRefreshExecutor.java index 48fcac706b..0c58e0cb92 100644 --- a/ams/server/src/main/java/com/netease/arctic/server/table/executor/TableRuntimeRefreshExecutor.java +++ b/ams/server/src/main/java/com/netease/arctic/server/table/executor/TableRuntimeRefreshExecutor.java @@ -18,7 +18,6 @@ package com.netease.arctic.server.table.executor; -import com.netease.arctic.server.optimizing.OptimizingStatus; import com.netease.arctic.server.optimizing.plan.OptimizingEvaluator; import com.netease.arctic.server.table.TableManager; import com.netease.arctic.server.table.TableRuntime; @@ -46,14 +45,6 @@ protected long getNextExecutingTime(TableRuntime tableRuntime) { return Math.min(tableRuntime.getOptimizingConfig().getMinorLeastInterval() * 4L / 5, interval); } - @Override - public void handleStatusChanged(TableRuntime tableRuntime, OptimizingStatus originalStatus) { - if (originalStatus != null && originalStatus.equals(OptimizingStatus.COMMITTING) && - tableRuntime.getOptimizingStatus().equals(OptimizingStatus.IDLE)) { - tryEvaluatingPendingInput(tableRuntime, loadTable(tableRuntime)); - } - } - private void tryEvaluatingPendingInput(TableRuntime tableRuntime, ArcticTable table) { if (tableRuntime.isOptimizingEnabled() && !tableRuntime.getOptimizingStatus().isProcessing()) { OptimizingEvaluator evaluator = new OptimizingEvaluator(tableRuntime, table);