Presto: Admit coordinator-only "system queries" when required worker count not satisfied

Created on 22 Jun 2020  路  3Comments  路  Source: prestosql/presto

Given coordinator with

node-scheduler.include-coordinator=false
query-manager.required-workers=1

query

select * from system.runtime.nodes;

will get into WAITING_FOR_RESOURCES state, waiting for a worker.
However, once the worker shows up and query gets admitted, the query executes on coordinator only.
We should not wait for a worker in this case.

Relates to: https://github.com/prestosql/presto/issues/4131

enhancement

Most helpful comment

All 3 comments

Hi, would like to take this up.

@prakharcode thanks!
before starting to code this, let's have agreement if this is really what we want.
cc @dain @sopel39 @martint

Was this page helpful?
0 / 5 - 0 ratings