Skip to content

Conversation

@amokan
Copy link
Contributor

@amokan amokan commented Feb 2, 2026

Adds an optional read_only_url config option for ClickHouse backends with the use-case being the compute-compute/Warehouses feature available in ClickHouse Cloud.

When the config is set for that option, ClickHouse reads will use the dedicated read cluster rather than the primary cluster, which will only be used for inserts. Because users/roles are identical in this topology, the credentials configured for the primary endpoint are reused. If this option is set to an empty string or not provided, the CH backend will use the same endpoint for reads/writes as it does now.

This also adds read_only_url to the whitelisted config options so the value is shown in the UI.

@amokan amokan requested a review from chasers February 2, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants