apache / apache/dolphinscheduler
[Improvement] Subworkflow task use t_ds_task_instance_context store runtime context
- Dominant language
- Java
- Stars
- 14.5k
- Forks
- 5.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 28
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
All tasks should use `t_ds_task_instance_context` to store its runtime context, runtime context represent its runtime info , once its runtime context changed, it should tell master to update its runtime context.
When task failover should copy runtime context to new task instance which is generated by failover and provide it's runtime context to task plugin to do failover, so task plugin should provide interface how to deserialze/serialize runtime context, and how to use runtime context to do failover.
### Are you willing to submit a 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)
Contributor guide
Assessment
This issue has not been assessed yet.