ruanwenjun commented on code in PR #17051:
URL: 
https://github.com/apache/dolphinscheduler/pull/17051#discussion_r1988655474


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/engine/graph/WorkflowGraphTopologyLogicalVisitor.java:
##########
@@ -143,8 +143,11 @@ private void doVisitationInSubGraph(Set<String> 
subGraphNodes) {
             }
             for (String successor : successors) {
                 inDegreeMap.put(successor, inDegreeMap.get(successor) - 1);
+                // Add all non-repeating successors to bootstrapTaskCodes
+                if (!bootstrapTaskCodes.contains(successor)) {
+                    bootstrapTaskCodes.add(successor);
+                }

Review Comment:
   There will still exist problem, please use a visited table to record the 
node which has been visted..



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to