Browse Source

Fix tasks not execute in sub-process when rerun scheduled process. #2903 (#2908)

pull/3/MERGE
t1mon 5 years ago committed by GitHub
parent
commit
8681036a49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java

2
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessService.java

@ -921,7 +921,7 @@ public class ProcessService {
CommandType fatherType = parentProcessInstance.getCommandType(); CommandType fatherType = parentProcessInstance.getCommandType();
CommandType commandType = fatherType; CommandType commandType = fatherType;
if(childInstance == null || commandType == CommandType.REPEAT_RUNNING){ if(childInstance == null){
String fatherHistoryCommand = parentProcessInstance.getHistoryCmd(); String fatherHistoryCommand = parentProcessInstance.getHistoryCmd();
// sub process must begin with schedule/complement data // sub process must begin with schedule/complement data
// if father begin with scheduler/complement data // if father begin with scheduler/complement data

Loading…
Cancel
Save