Browse Source

[Fix-13815][master] Fix dependent task incorrect timeout alerts (#13822)

3.2.0-release
ralphgj 2 years ago committed by GitHub
parent
commit
f78ef9ec08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java

4
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/StateWheelExecuteThread.java

@ -184,10 +184,6 @@ public class StateWheelExecuteThread extends BaseDaemonThread {
taskInstanceTimeoutCheckList.add(taskInstanceKey);
log.info("Timeout flag is open, added task instance into timeout check list");
}
if (taskInstance.isDependTask() || taskInstance.isSubProcess()) {
taskInstanceTimeoutCheckList.add(taskInstanceKey);
log.info("task instance is dependTask orSubProcess, added task instance into timeout check list");
}
}
public void removeTask4TimeoutCheck(@NonNull ProcessInstance processInstance, @NonNull TaskInstance taskInstance) {

Loading…
Cancel
Save