mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 05:09:48 +08:00
fix bug: Fix master task dependency check bug (#3473)
Co-authored-by: lenboo <baoliang@analysys.com.cn>
This commit is contained in:
parent
927985c012
commit
5756d6b029
@ -667,12 +667,10 @@ public class MasterExecThread implements Runnable {
|
||||
List<String> depNameList = taskNode.getDepList();
|
||||
for(String depsNode : depNameList ){
|
||||
if(!dag.containsNode(depsNode)
|
||||
|| skipTaskNodeList.containsKey(depsNode)
|
||||
|| forbiddenTaskList.containsKey(depsNode)){
|
||||
continue;
|
||||
}
|
||||
if(skipTaskNodeList.containsKey(depsNode)){
|
||||
return DependResult.FAILED;
|
||||
}
|
||||
// all the dependencies must be completed
|
||||
if(!completeTaskList.containsKey(depsNode)){
|
||||
return DependResult.WAITING;
|
||||
|
Loading…
Reference in New Issue
Block a user