Skip to content

Use a priority queue in the workqueue of Async style stream #1895

@harendra-kumar

Description

@harendra-kumar

If all workers suspend due to maxBuffer limit they are queued in random order. Later when we schedule those we schedule in the LIFO order, therefore, there won't be any specific order in which they get scheduled. We need to reschedule those in correct order so that the older tasks finish first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions