dolphinscheduler
dolphinscheduler copied to clipboard
[DSIP-][Master] Add Continue_Other_Task_Chain FailureStrategy
Search before asking
- [X] I had searched in the DSIP and found no similar DSIP.
Motivation
Currently, the list of FailureStrategy only have END and CONTINUE. May be it should have another choice: Continue_Other_Task_Chain
/** * 0 ending process when some tasks failed. * 1 continue running when some tasks failed. * 2 one task failed will continue other running task chain. **/ END(0, "end"), CONTINUE(1, "continue"), Continue_Other_Task_Chain(2,"One task failed will continue other running task chain");
Design Detail
No response
Compatibility, Deprecation, and Migration Plan
No response
Test Plan
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
What is OTHER_CONTINUE , please add detail design and specific motivation.
For example, a workflow process which have three branches like A,B,C. If branch B have a task failed, only affects the branch B. The other branch can continue to running.
The status of the workflow instance also is failed.
The current naming of our strategies is confusing It's better to have a more intuitive name e.g.
Continue_Other_Task("One task failed will continue other running task")
Continue_Other_Task_Chain("One task failed will continue other running task chain")
Kill_Other_Task_Chain("One task failed will kill other running task chain")
Continue and OTHER_CONTINUE will make confuse.
Continue_Other_Task_Chain("One task failed will continue other running task chain"). I think this one(Continue_Other_Task_Chain)is the best description.