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 1a0866f6f2..411c07b2a1 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 @@ -1430,10 +1430,9 @@ public class WorkflowExecuteThread implements Runnable { this.processInstance.getId()); taskResponseService.addResponse(taskResponseEvent); } + this.taskRetryCheckList.remove(taskId); + this.depStateCheckList.remove(taskId); } - - this.taskRetryCheckList.clear(); - this.depStateCheckList.clear(); this.addProcessStopEvent(processInstance); }