DarkAssassinator commented on issue #11796:
URL: 
https://github.com/apache/dolphinscheduler/issues/11796#issuecomment-1239400981

   if use configre the timeout and retry, it will cause a dead loop. 
   because `TASK_STATE_CHANGE` state event will remove the taskProcessor
   
![image](https://user-images.githubusercontent.com/20518339/188891176-a09baf3c-6c48-4d9f-b311-8f64a872695a.png)
   but later `TIME_OUT` state event will use this taskProcessor, it will throw 
a NPE:
   
![image](https://user-images.githubusercontent.com/20518339/188891628-9eab8a15-bc9c-417b-aefa-51d4018c7796.png)
   And `WorkflowExecuteRunnable` will not remove this event if occur a 
Exception, so will keep a dead loop, then `WorkflowExecuteThreadPool` will keep 
print `The workflow has been executed by another thread`, this thread hang.


-- 
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