Skip to content

Give higher priorities to fetch tasks than query tasks? #29366

@jpountz

Description

@jpountz

Under high search load, fetch tasks may have to wait quite some time in the queue before being processed. I was wondering that we might want to give them a higher priority than query tasks in order to minimize the amount of time during which we have to keep resources open at the shard level, such as the index reader, and the amount of time during which the coordinating node needs to keep shard responses in memory. However I wouldn't expect it to improve latency or throughput.

Note that while this might look related to #14224, this issue doesn't try to give some searches a higher priority than other searches, but to different tasks that are required to run a single search.

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