Skip to content

Conversation

@sumeerbhola
Copy link
Collaborator

The existing assertions were valid, but needed better commentary. Also added a new assertion.

Epic: CRDB-55052

Release note: None

The existing assertions were valid, but needed better commentary.
Also added a new assertion.

Epic: CRDB-55052

Release note: None
@sumeerbhola sumeerbhola requested review from tbg and wenyihu6 November 24, 2025 16:28
@sumeerbhola sumeerbhola requested review from a team as code owners November 24, 2025 16:28
@blathers-crl
Copy link

blathers-crl bot commented Nov 24, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@wenyihu6 wenyihu6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TestReplicateQueueRebalanceMultiStore unrelated flake.

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 24, 2025

@craig craig bot merged commit 2c48935 into cockroachdb:master Nov 24, 2025
22 of 23 checks passed
Copy link
Collaborator Author

@sumeerbhola sumeerbhola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained


pkg/kv/kvserver/allocator/mmaprototype/cluster_state_rebalance_stores.go line 532 at r1 (raw file):

	// below. The code below additionally ignores the range if it has pending
	// changes, which while not necessary for the is-leaseholder assertion,
	// makes the case where we assert even narrower.

I forgot to remove this. Will send a PR.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants