Search before asking
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?
Code of Conduct
Search before asking
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
Anything else
No response
Version
dev
Are you willing to submit PR?
Code of Conduct