Browse Source

[Fix-7037][dolphincheduler-server] process instance can not be killed when complement data (#7140)

* fix bug 7037

* update processComplementData

Co-authored-by: SbloodyS <sbloodys@qq.com>
3.0.0/version-upgrade
SbloodyS 3 years ago committed by GitHub
parent
commit
d83735ab51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteThread.java

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

@ -584,6 +584,10 @@ public class WorkflowExecuteThread implements Runnable {
return false; return false;
} }
if (processInstance.getState() == ExecutionStatus.READY_STOP) {
return false;
}
Date scheduleDate = processInstance.getScheduleTime(); Date scheduleDate = processInstance.getScheduleTime();
if (scheduleDate == null) { if (scheduleDate == null) {
scheduleDate = complementListDate.get(0); scheduleDate = complementListDate.get(0);

Loading…
Cancel
Save