dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [dolphinscheduler-server] When a worker group goes down,High-priority tasks for this workgroup will block the queue(TaskPriorityQueueImpl)

Open FrankZhang996 opened this issue 4 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

Suppose there are three workgroups, namely default1, default2, default3. When all the machines in the workgroup default1 go down, the high-priority tasks of the default1 workgroup will always be retried in the queue, trying to find machines to execute, other workgroups The low-priority tasks will be blocked all the time.

What you expected to happen

After all the machines in a work group are down, it will not block the scheduling of other work group tasks

How to reproduce

Divide the task distribution queue into two. When a task cannot find a work group, it is put into another queue, and the other queue is consumed by a dedicated thread.The code screenshot is as follows: image

Anything else

No response

Version

1.3.6

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

FrankZhang996 avatar Jan 27 '22 09:01 FrankZhang996

Hi:

  • Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
  • In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
  • If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to [email protected].

github-actions[bot] avatar Jan 27 '22 09:01 github-actions[bot]