Skip to content

mmaprototype: allow store/node attrs and locality tiers to change #157831

@tbg

Description

@tbg

The mmaprototype allocator's clusterState.setStore() method assumes store/node attributes and locality are fixed, but when a non-local store restarts with changed locality or attributes, these changes are ignored. This leads to incorrect constraint matching and suboptimal replica placement decisions since the allocator continues using stale information.

Epic: CRDB-55052

Jira issue: CRDB-56968

Metadata

Metadata

Assignees

Labels

A-kv-distributionRelating to rebalancing and leasing.C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-kvKV Team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions