cockroachdb / cockroachdb/cockroach

kv: load-based rebalancing in multi-region configurations is non-optimal

Open
#109,885 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement
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.**
In a recent customer investigation, there were a a large number of load-based rebalancing. The system is multi-region and the leaseholders each pinned to 1 of 3 regions, but only 2 of the 3 regions are actually in use. The configuration is RF=5 with 2 replicas in each of the "primary" regions and 1 in the secondary. Each region has 6 nodes (18 nodes total). While running workloads, there is a lot of load based rebalancing in the primary regions, specifically in region 1 there are replicas transferring back and forth continually between a few nodes.

**Describe the solution you'd like**
There should not have been any load based rebalancing in this scenario.

Jira issue: CRDB-31137

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.