spanconfig: reduce default gc TTL for system.span_configurations
#80233
Labels
A-zone-configs
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
E-quick-win
Likely to be a quick win for someone experienced.
no-issue-activity
X-stale
Is your feature request related to a problem? Please describe.
This table's opted out of cluster backups:
cockroach/pkg/ccl/backupccl/system_schema.go
Lines 358 to 360 in 0ec2bcd
Frequent zone config changes will a lot of garbage accumulated over this table; in the order of O(descriptors * changes). Reducing the default GC TTL from 25h to something much shorter seems reasonable. spanconfig.KVSubscriber establishes a rangefeed over this table to learn of updates, but it'll retry if GC occurs from underneath it.
Jira issue: CRDB-15798
The text was updated successfully, but these errors were encountered: