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

   ### 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
   
   When I force success a task instance that need fault tolerance, the 
downstream task instance is not triggered to execute.
   Because 
org.apache.dolphinscheduler.api.controller.TaskInstanceController#forceTaskSuccess
 only modify table t_ds_task_instance, but in master, the task instance'state 
is 
   `key: null type: TASK_STATE_CHANGE executeStatus: RUNNING_EXECUTION task 
instance id: 101 process instance id: 38 context: null`,
   so 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread#stateEventHandler
 can't execute the next task.
   
   
   ### What you expected to happen
   
   After force success, the next task will be execute.
   
   ### How to reproduce
   
   1.create a workflow.
   2.create a dependent process that never success.
   3.create a process that depend step 2 process.
   4.run workflow and force dependent process success.
   5.you can see the next process never run.
   
   ### Anything else
   
   I don't know this is a bug or a feature?But I think it's a common problem in 
data development.
   
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [ ] 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