ZhongJinHacker opened a new issue, #15740: URL: https://github.com/apache/dolphinscheduler/issues/15740
### 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 In WorkflowExecuteRunnable's executeTask method block, when `processService.submitTask` return false, it will return true. and this return value will cause the boolean variable named taskFailedSubmit cannot go into the correct state. Due to `taskFailedSubmit` is WorkflowExecuteRunnable's member variable, it will cause the method named hasFailedTask cannot return the correct results   ### What you expected to happen #### let me fix it ### How to reproduce when the db can not work, and at the same time ,the program call the `processService.submitTask` in the executeTask method block, it will reproduce the situation. Or make a unit test. it also can reproduce the situation ### 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]
