trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.1k stars 2.92k forks source link

Document Graceful Shutdown System Information #20014

Open EFonsecaPag opened 8 months ago

EFonsecaPag commented 8 months ago

Startin at version , it was

From version 414 onwards, authorization control for writing operations on nodes was implemented. This change directly affected graceful activation. So, in order to change the worker's state, it is necessary to implement the write option specifically in the worker. I managed to do this as follows, using chart v0.14.0: image

I suggest changing the documentation to include this information to make implementing graceful easier.

slack thread on the subject

hashhar commented 8 months ago

cc: @mosabua

mosabua commented 8 months ago

This is kinda documented already and needs to be part of file based access control docs and the Helm chart docs. I have a backlog task for both and will fold this into my work on these.