kvserver: smear size based range splits #125929
Labels
A-kv-distribution
Relating to rebalancing and leasing.
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
P-3
Issues/test failures with no fix SLA
T-kv
KV Team
When running a uniform write workload, on a uniformly sized keyspace, ranges will split in half at approximately the same time.
Normally, when a few ranges split this isn't expected to have any impact as #22348 removes the latch contention latency. However, scanning the range data simultaneously for many splits can cause CPU exhaustion, which does result in higher tail latency.
This issue is to smear, or space out size-based range splits so that they do not all occur at the same time for uniform workloads.
Jira issue: CRDB-39670
Epic CRDB-39952
The text was updated successfully, but these errors were encountered: