Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow list syntax for exchangeManager baseDir targets
This change will allow using list syntax of exchangeManager base-directories which is more common and understandable with Helm charts. Trino allows specifying multiple spooling targets for exchageManager separated by commas when using main cloud providers or any S3 compatible protocol (example: s3://bucket1,s3://bucket2,s3://bucket3). With current trinodb/chart we have to specify them within values as a single line for baseDir: server: exchangeManager: name: "filesystem" baseDir: "s3://exchange-spooling-bucket-1,s3://exchange-spooling-bucket-2" Which translates to: exchange-manager.properties: | exchange-manager.name=filesystem exchange.base-directories=s3://exchange-spooling-bucket-1,s3://exchange-spooling-bucket-2 This change allows a more clean listing within values: server: exchangeManager: name: "filesystem" baseDir: - "s3://exchange-spooling-bucket-1" - "s3://exchange-spooling-bucket-2" Which translates to the same: exchange-manager.properties: | exchange-manager.name=filesystem exchange.base-directories=s3://exchange-spooling-bucket-1,s3://exchange-spooling-bucket-2 It will not break any existing listings as stating them the same way as before in a single line will result in exchange.base-directories within a single line. Documentation for setting up fault tolerant execution: https://trino.io/docs/current/admin/fault-tolerant-execution.html Chart documentation has been also updated. Default usage example has been changed to a listed view with a minor clean up of the overall description.
- Loading branch information