-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Division by zero when all clusters of a group are not ready (#47)
* fix: Division by zero when all clusters of a group are not ready * udapte docs * update docs * changelog * Use match instead of if
- Loading branch information
Showing
4 changed files
with
51 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
trinoLb: | ||
externalAddress: https://127.0.0.1:443 # exposed docker port is 443 | ||
# When you enable authentication trino-clients enforce https encryption | ||
tls: | ||
enabled: true | ||
certPemFile: /self-signed-certs/cert.pem | ||
keyPemFile: /self-signed-certs/key.pem | ||
# Use in-memory persistence which will loose all queued running queries on restart | ||
persistence: | ||
inMemory: {} | ||
trinoClusterGroups: | ||
default: | ||
# Once a cluster has more running queries than this no further queries will be send to it | ||
# They will be queued in trino-lb instead | ||
maxRunningQueries: 1 | ||
trinoClusters: | ||
- name: trino-default-1 | ||
endpoint: https://5.250.181.98:8443 # FIXME | ||
credentials: | ||
username: admin | ||
password: adminadmin # FIXME | ||
# Your Trino probably does not have a globally trusted certificate | ||
trinoClusterGroupsIgnoreCert: true | ||
|
||
# Route all queries to the "default" cluster group | ||
routers: [] | ||
routingFallback: default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters