You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Support activating and deactivation Trino clusters via API calls to /admin/clusters/{cluster_name}/activate and /admin/clusters/{cluster_name}/deactivate respectively. For this to work you need to authenticate yourself at trino-lb via basic auth (#95).
Expose cluster statistics at /admin/clusters/{cluster_name}/status and /admin/clusters/status (#95).
Support configuring an external endpoint of Trino clusters.
This is used to update the segments ackUris to, as sometimes Trino get's confused and put's the wrong endpoint (namely the one of trino-lb) in there.
Please note that this runs a database migration on Postgres (#100).
Changed
The Stackable scaler now ensures that a TrinoCluster has changed to ready more than 5 seconds
ago before marking it as ready (#68).
Emit less attributes in tracing to make logs easier readable (#86).
BREAKING: Only bind to IPv4 (0.0.0.0) instead of IPv6 (::).
On most Linux systems, binding to :: dual-stacks, on Windows this would likely bind to IPv6 only.
As a user reported that they run into Address family not supported by protocol (os error 97), we now only bind to IPv4.
There was some attempt to make it portable work on IPv4 and IPv6 (optional), but that turned out to be a bigger story for later (#91).
Fixed
Set connection and response timeout for Redis connections (#85).
Only remove queries from the persistence in case they don't send a nextUri and are in state FINISHED (#98).
Correctly proxy HEAD requests to /v1/statement/executing/{queryId}/{slug}/{token}.
Previously, we would GET (instead of HEAD) the URL at the Trino cluster, which resulted in trino-lb dropping the HTTP body, causing problems (#100).