mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 23:59:27 -05:00
A cluster with Floci's Trino now starts its primary node, and Trino on it, in the background as it becomes ready, steps or none, the way an application UI link already does; the cluster goes WAITING as before. Clients outside the cluster reach Trino through Floci on a host of the cluster's own, <cluster-id>.emr-trino.<Floci's host>, through the app UI proxy: Trino's port is published on the primary node's loopback like the node's web interfaces, the request keeps its Host, which Trino names its next pages by, and goes on with X-Forwarded-Proto, which Trino honours with http-server.process-forwarded. Until Trino answers the host gives a 503, which Trino's clients retry, and starts the node where it is not running; an ending or ended cluster gives a 404. Floci's TLS certificate names the new host label.