-
Notifications
You must be signed in to change notification settings - Fork 5k
[Bug] [Master] Worker failover will cause task cannot be failover #10630
Copy link
Copy link
Closed
Description
Search before asking
- I had searched in the issues and found no similar issues.
What happened
I test the dev branch, and find when the worker failover, the running task which should be failover will not failover.
The problem is that when we do worker failover, we didn't update the taskInstance in the cache, so the TaskProcessor will not execute the failover logic.
What you expected to happen
The task can be failovered successfully.
How to reproduce
- Start a master, worker.
- Execute 1000 workflow instance.
- Kill the worker.
- Restart the worker, find some taskInstance will not be failover and the workflowInstance will never finish.
Anything else
No response
Version
dev
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable