cockroachdb / cockroachdb/cockroach

kv: zone config changes should apply immediately

Open
#127,180 1 comment 0 reactions 0 assignees View on GitHub
A-kv-distribution C-enhancement T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**
After a user changes a ZONE CONFIG using an alter statement, they expect the system to "quickly" process the change. After the work done to address #108795 we eagerly queue up the SpanConfig changes, however due to rate limits and other failures, we don't process 100% of them successfully the first time and we don't retry quickly.

This was exposed from a change to `change-replicas/mixed-version` to incorrectly no longer pass the `COCKROACH_SCAN_MAX_IDLE_TIME=10ms` parameter in #127106.

**Describe the solution you'd like**
Ideally we should be able to remove that parameter and config setting from all the tests (unless they really are testing the scan interval). This mostly works, but we don't have a good roachtest to validate it and as this failure exposed, it doesn't work 100% of the time.

Jira issue: CRDB-40307

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.