lenboo opened a new issue #6353: URL: https://github.com/apache/dolphinscheduler/issues/6353
### 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 branch: dev i find master dispatch tasks to worker slowly . mysql> select count(*),state from t_ds_task_instance group by state; +----------+-------+ | count(*) | state | +----------+-------+ | 15347 | 7 | | 12 | 1 | +----------+-------+ 2 rows in set (0.01 sec) mysql> select count(*),state from t_ds_process_instance group by state; +----------+-------+ | count(*) | state | +----------+-------+ | 892 | 7 | | 12109 | 1 | +----------+-------+ ### What you expected to happen Optimize the speed of dispatch task ### How to reproduce create a dag  schedule the dag '0 * * * * ? *' run the dag with 'complement data' you will find the process_instance count: 12109 but the task (state=1) number is 12 This phenomenon is not normal ### Anything else _No response_ ### 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]
