Skip to content

Fix OOM Cancellation in MSE #16060

@vrajat

Description

@vrajat

QueryServer in MSE submits work asynchronously.

OOM protection framework assumes that there is a runner thread which is waiting for all the worker threads. The framework cancels the runner thread if required. Worker threads check regularly if the anchor thread is canceled and abort if it is.

Since QueryServer submits asynchronously, the above assumptions break down. It is unclear if cancellation by OOM protection works for MSE. If it does, it is by luck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    multi-stageRelated to the multi-stage query engine

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions