Browse Source

revert [fix-#13956] [Master]taskId is null cause NPE #13980 (#14142)

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

2
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java

@ -1913,8 +1913,6 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> {
if (DependResult.SUCCESS == dependResult) {
log.info("The dependResult of task {} is success, so ready to submit to execute", task.getName());
if (!executeTask(task)) {
// todo: don't ste 0 here
task.setId(0);
this.taskFailedSubmit = true;
// Remove and add to complete map and error map
if (!removeTaskFromStandbyList(task)) {

Loading…
Cancel
Save