github-actions[bot] commented on issue #15038: URL: https://github.com/apache/dolphinscheduler/issues/15038#issuecomment-1765483993
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened - two dag: a -> b -> c, dependent _1 -> d -> e - Retry after failure is configured for task b. - dependent _1 is Dependent task and depends on task b. - When task b fails but the maximum number of retries is not reached, dependent _1 task fails. Chinese: - Two workflows: a -> b -> c, dependent _1 -> d -> e - Task b is configured with failed retries, for example, the maximum number of retries is 3 and the retry interval is 3 minutes. - Task dependent _1 is a Dependent type task, which depends on task b. The dependency definition is as shown below - Result: When task b fails once, the failure of dependent _1 task will be triggered.  ### What you expected to happen In my opinion, after failed retry is configured for task b, dependent tasks need to wait for the retry to complete before their execution results can be calculated Chinese: I think that if task b is configured with a failure retry, the Dependent task that depends on task b needs to wait for its successful execution or execution failure and the maximum number of retries before it can calculate the dependency result of the Dependent task, rather than after task b After one failure, the dependent _1 task fails, because task b is in the failed retry stage and this task has not ended. ### How to reproduce I think that when calculating the dependency result of a dependent task, it is necessary to additionally determine whether the dependent task has a failed retry stage to prevent the dependent task from failing due to a single failure of the dependent task. Chinese: I think that when calculating the dependency result of a Dependent type task, it is necessary to additionally determine whether the dependent task is in the failure retry stage to prevent the Dependent type task from failing due to a single failure of the dependent task. ### Anything else _No response_ ### Version 3.1.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
