ruanwenjun opened a new issue, #10630:
URL: https://github.com/apache/dolphinscheduler/issues/10630

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) 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
   
   1. Start a master, worker.
   2. Execute 1000 workflow instance.
   3. Kill the worker.
   4. 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?
   
   - [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)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to