reele opened a new pull request #6057: URL: https://github.com/apache/dolphinscheduler/pull/6057
## Purpose of the pull request When recovery a stopping instance, sub-process-task's state may be KILL, but the sub-process-instance is already submitted by RECOVER_TOLERANCE_FAULT_PROCESS command, the SubProcessTaskExecThread.waitTaskQuit() will return directly, and set task state with sub-process's state (even if the sub-process is running), so the sub-process-task will ended with an unfinished state, so the parent thread MasterExecThread will fall into an endless-loop. ## Brief change log Add a check in getSubmitTaskState: if taskInstance is sub-process or dependent node, and the state is KILL, return SUBMITTED_SUCCESS state. ## Issue [#6055](https://github.com/apache/dolphinscheduler/issues/6055) -- 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]
