Skip to content

Conversation

@spilchen
Copy link
Contributor

countLeasesByRegion now skips regions that were just dropped instead of reporting “failed to count leases”. This was found in the TestMultiRegionTenantRegions test. We did have pre-existing logic to handle missing regions in handleRegionLivenessErrors, but it wasn't handled correctly by all the callers.

Resolves: #157122
Release note: none

countLeasesByRegion now skips regions that were just dropped
instead of reporting “failed to count leases”. This was found in
the TestMultiRegionTenantRegions test. We did have pre-existing
logic to handle missing regions in handleRegionLivenessErrors, but
it wasn't handled correctly by all the callers.

Resolves: cockroachdb#157122
Release note: none
@spilchen spilchen self-assigned this Nov 18, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@spilchen spilchen marked this pull request as ready for review November 18, 2025 17:41
@spilchen spilchen requested a review from a team as a code owner November 18, 2025 17:41
@spilchen spilchen requested a review from fqazi November 18, 2025 17:42
Copy link
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

@spilchen Nice find!

:lgtm:

@fqazi reviewed 4 of 4 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @spilchen)

@spilchen
Copy link
Contributor Author

Thanks for the quick review.

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 18, 2025

@craig craig bot merged commit 1781fc1 into cockroachdb:master Nov 18, 2025
24 checks passed
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.

ccl/multiregionccl: TestMultiRegionTenantRegions failed

3 participants