You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/09/06 08:15:43 UTC

[GitHub] [dolphinscheduler] ruanwenjun commented on a diff in pull request #11793: [Bug] [Workflow] Fix workflow failure strategy bug

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


##########
dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/runner/WorkflowExecuteRunnable.java:
##########
@@ -1808,7 +1812,8 @@ public void submitStandByTask() throws StateEventHandleException {
                 getPreVarPool(task, preTask);
             }
             DependResult dependResult = getDependResultForTask(task);
-            if (DependResult.SUCCESS == dependResult) {
+            if (DependResult.SUCCESS == dependResult
+                    || processInstance.getFailureStrategy() == FailureStrategy.CONTINUE) {

Review Comment:
   ```suggestion
               if (DependResult.SUCCESS == dependResult || (DependResult.FAILED == dependResult && processInstance.getFailureStrategy() == FailureStrategy.CONTINUE)) {
   ```



-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org