amoro
amoro copied to clipboard
[Subtask]: Use SimpleFuture to refactor TaskRuntime and eliminate task lock
Search before asking
- [X] I have searched in the issues and found no similar issues.
Description
- Use SimpleFuture to refactor TaskRuntime, remove TaskOwner
- Eliminate lock in TaskRuntime and avoid deadlock between tasks when canceling refering to #2644
- Add getStage interface for related classes
Parent issue
#2596
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