HQFGit opened a new issue, #14216: URL: https://github.com/apache/dolphinscheduler/issues/14216
### 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 hive fix a bug with the issue https://github.com/apache/dolphinscheduler/pull/14016 when I stopped a workflow with sub_process . sub_process state turn to STOP but workflow still READY_STOP and not change any more. according to Master logs it seems not stop workflow suceess. master logs : [INFO] 2023-05-24 08:42:43.857 +0800 - set work flow 47 task 60 running [INFO] 2023-05-24 08:42:43.873 +0800 - set sub work flow 47 task 60 state: TaskExecutionStatus{code=1, desc='running'} [INFO] 2023-05-24 08:42:43.877 +0800 - work flow 47 task 60, sub work flow: 48 state: WorkflowExecutionStatus{code=1, desc='running'} [INFO] 2023-05-24 08:42:48.868 +0800 - set work flow 47 task 60 running [INFO] 2023-05-24 08:42:48.873 +0800 - work flow 47 task 60, sub work flow: 48 state: WorkflowExecutionStatus{code=1, desc='running'} [INFO] 2023-05-24 08:42:53.877 +0800 - set work flow 47 task 60 running [INFO] 2023-05-24 08:42:53.881 +0800 - work flow 47 task 60, sub work flow: 48 state: WorkflowExecutionStatus{code=1, desc='running'} ### What you expected to happen workflow's state change to be STOP when sub_process's state STOP ### How to reproduce 1.create a workflow named sub_workflow with a simple shell task 'echo helloWorld sleep 60 echo helloWorld' to make the process worked longer; 2.create a workflow named main_workflow and add the sub_process 'sub_workflow '; 3.start the workflow 'main_workflow ' and after task_instance turn to running ,stop workflow; 4.you will see the 'sub_workflow ' STOP but 'main_workflow ' holding READY_STOP and master log show that process_instance still running; ### 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]
