File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,21 @@ condition: 'request.getHeader("X-Trino-Client-Tags") contains "label=foo"'
134134
135135If no rules match, then request is routed to adhoc.
136136
137+ # ## TrinoStatus
138+
139+ This class attempts to track the current state of Trino cluster. It is updated per every healthcheck.
140+ There are three possible states
141+
142+ - PENDING
143+ - A Trino cluster will show this state when it is still starting up. It will be treated as
144+ unhealthy by RoutingManager, and therefore requests will not be routed to PENDING clusters
145+ - HEALTHY
146+ - A Trino cluster will show this state when healthchecks report clusters as healthy and ready.
147+ RoutingManager will only route requests to healthy clusters
148+ - UNHEALTHY
149+ - A Trino cluster will show this state when healthchecks report clusters as unhealthy. RoutingManager
150+ will not route requests to unhealthy clusters.
151+
137152# ## TrinoRequestUser
138153
139154This class attempts to extract the user from a request. In order, it attempts
You can’t perform that action at this time.
0 commit comments