Browse Source

[Fix-10443][server]fix dependent task always running (#10708)

* [Fix-10443][server]fix dependent task always running

* optimize remove logic
2.0.7-release
weeway 2 years ago committed by GitHub
parent
commit
520e72f3de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java

5
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()); this.processInstance.getId());
taskResponseService.addResponse(taskResponseEvent); taskResponseService.addResponse(taskResponseEvent);
} }
this.taskRetryCheckList.remove(taskId);
this.depStateCheckList.remove(taskId);
} }
this.taskRetryCheckList.clear();
this.depStateCheckList.clear();
this.addProcessStopEvent(processInstance); this.addProcessStopEvent(processInstance);
} }

Loading…
Cancel
Save