diff --git a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java index 89090cb639..8a0f5f2986 100644 --- a/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java +++ b/dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java @@ -534,6 +534,10 @@ public class WorkflowExecuteThread implements Runnable { scheduleDate = complementListDate.get(0); } else if (processInstance.getState().typeIsFinished()) { endProcess(); + // rerun process instance of complement didn't need create the next process complement + if (processInstance.getCommandType() == CommandType.REPEAT_RUNNING) { + return true; + } if (complementListDate.size() <= 0) { logger.info("process complement end. process id:{}", processInstance.getId()); return true;