cockroachdb / cockroachdb/cockroach

changefeedccl: make `changefeed.balance_range_distribution.sensitivity` more useful

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

Description

`changefeed.balance_range_distribution.sensitivity` isn't very useful. It's currently used to make rebalancing less uniform (by preserving the original plan provided by distsql).

This can be made more useful. For example, if the number of ranges is below X, rebalancing should put all the spans on one partition. This is a rough idea which needs design. There are more complications - for example, what happens when the table grows to a larger number of ranges? What if there are many changefeeds which all get planned on one node?

Jira issue: CRDB-36687

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.