Quan-HS opened a new issue, #11302: URL: https://github.com/apache/dolphinscheduler/issues/11302
### 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 this file 「TaskPriorityQueueConsumer」,there are lots of wrong tasks when task dispatch failed,if let those task「 failedDispatchTasks 」put「taskPriorityQueue」,cause normal tasks cannot be distributed. ### What you expected to happen 1. It doesn't matter what the priority of the task is, 「the task is tens of thousands of times larger」, it will happen 2. This is not valid,use level , fail count or Set a larger retry interval,Because the failed task will do a lot of invalid computations in the case of a large number of tasks,normal tasks are still not being distributed, It still creates a backlog ### How to reproduce maybe we need handle the failed task separately, new queue, new thread.Retry the forced stop multiple times and wait for user confirmation ### Anything else You are the best. ### Version 3.0.0-beta-2 ### 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]
