Skip to content

[Bug] [task group]The task group queue is idle, but the queued tasks are not executed #14813

@fishhami

Description

@fishhami

Search before asking

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

What happened

[version]
3.1.7
[description]
I created a task group, set the resource capacity to 2, and created 6 tasks at the same time.2 tasks will start to execute, and 4 tasks are in the status of submitted successfully. But when those two tasks are executed, the task group resources are in an idle state at this time, and the four tasks that were submitted successfully before are not scheduled for execution, and have always been submitted successfully. Then I create a new task, this task can obtain the task group resources and start executing。

What you expected to happen

When the task group resources are free, the tasks in the queue should be scheduled and executed normally instead of being blocked.

How to reproduce

image image From the above, we can see that the 'data-analysis' task group has idle resources, but there are still 4 tasks in the WAIT_QUEUE state, and they are not scheduled for execution. I don't know if there is a queuing timeout? Because during the test, I found that if the task group can release resources quickly, the tasks in the queue can be scheduled for execution. But when the previous task takes a long time, it will appear that although the resources are finally released , the previously queued tasks will no longer continue to be scheduled for execution

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions