Browse Source

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

pull/3/MERGE
t1mon 4 years ago committed by gaojun2048
parent
commit
cbb27e93e9
  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

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

Loading…
Cancel
Save