Skip to content

Conversation

@tbg
Copy link
Member

@tbg tbg commented Dec 24, 2025

Backport 1/1 commits from #159881 on behalf of @tbg.


Previously, the kv.allocator.load_based_rebalancing cluster setting could only be set to "multi-metric only" or "multi-metric and count" in test builds or when the COCKROACH_ALLOW_MMA environment variable was set.

Remove this restriction to allow MMA (multi-metric allocation) to be enabled in production. This is not recommended yet. Also remove references to the now-unnecessary COCKROACH_ALLOW_MMA env var from roachtests and drtprod configs.

Fixes: #159587
Epic: CRDB-55052


Release justification:

Previously, the `kv.allocator.load_based_rebalancing` cluster setting
could only be set to "multi-metric only" or "multi-metric and count"
in test builds or when the `COCKROACH_ALLOW_MMA` environment variable
was set.

Remove this restriction to allow MMA (multi-metric allocation) to be
enabled in production. Also remove references to the now-unnecessary
`COCKROACH_ALLOW_MMA` env var from roachtests and drtprod configs.

Fixes: cockroachdb#159587
Epic: CRDB-55052
@tbg tbg requested review from a team as code owners December 24, 2025 15:04
@tbg tbg force-pushed the blathers/backport-release-26.1-159881 branch from 1b3cf49 to 71a467a Compare December 24, 2025 15:04
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Dec 24, 2025
@tbg tbg removed the request for review from a team December 24, 2025 15:04
@blathers-crl
Copy link

blathers-crl bot commented Dec 24, 2025

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@blathers-crl blathers-crl bot added backport Label PR's that are backports to older release branches T-kv KV Team labels Dec 24, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. T-kv KV Team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants