Skip to content

Conversation

log-head
Copy link
Contributor

@log-head log-head commented Oct 3, 2025

Previously, range_distribution_strategy was a cluster setting. Moving this from a cluster setting to a changefeed option gives users control over which changefeeds it applies to (eg initial scans vs long-running feeds).

Fixes: #147628

Release note (sql change): Replace cluster setting changefeed.default_range_distribution_strategy="balanced_simple" with changefeed setting range_distribution_strategy with values 'default' or 'balanced_simple'. 'balanced_simple' naively redistributes spans evenly across aggregators with no regard for replica placement.

@log-head log-head self-assigned this Oct 3, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@log-head log-head force-pushed the log-head/balanced_simple_option branch from 6efb6e0 to 8528f98 Compare October 3, 2025 15:58
Previously, range_distribution_strategy was a cluster setting. Moving
this from a cluster setting to a changefeed option gives users control
over which changefeeds it applies to (eg initial scans vs long-running
feeds).

Fixes: cockroachdb#147628

Release note (sql change): Replace cluster setting
changefeed.default_range_distribution_strategy="balanced_simple" with
changefeed setting range_distribution_strategy with values 'default' or
'balanced_simple'. 'balanced_simple' naively redistributes spans evenly
across aggregators with no regard for replica placement.
@log-head log-head force-pushed the log-head/balanced_simple_option branch from 8528f98 to 83c68f4 Compare October 6, 2025 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

changefeedccl: make balanced_simple distribution strategy a changefeed option
2 participants