sql: explicit zone configuration for the timeseries range on a new cluster #123762
Labels
A-zone-configs
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
O-testcluster
Issues found or occurred on a test cluster, i.e. a long-running internal cluster
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Is your feature request related to a problem? Please describe.
When a cluster is created, we create a zone configuration for the default zone as well as for most of the "special" ranges that are documented here: https://www.cockroachlabs.com/docs/v23.2/configure-replication-zones#create-a-replication-zone-for-a-system-range. The only system range we don't explicitly create a zone config for is the
timeseries
range.After a test cluster is created, it has the following configurations defined:
Note that the 3 ranges for
meta
,system
, andliveness
have explicit zone configs, buttimeseries
doesn't`.Describe the solution you'd like
On a system creation, we should create an explicit
timeseries
zone config that exactly matches theRANGE default
zone config. This would prevent confusion and allow users to make the right decisions on what RF they want. Otherwise users who don't carefully read the documentation are not likely to consider this range.Describe alternatives you've considered
system
configuration if there isn't a more explicit one set.Additional context
In a test cluster where all the "visible" zone configurations were set with RF=5 and two nodes were brought down, we had a LoQ event for some of the timeseries ranges. This was confusing to debug since it required figuring out that the timeseries range was not included.
Jira issue: CRDB-38531
Epic CRDB-40419
The text was updated successfully, but these errors were encountered: