Skip to content

Conversation

@iskettaneh
Copy link
Contributor

@iskettaneh iskettaneh commented Nov 21, 2025

spanset: assert read-only batches don't access store local and unreplicated RangeID local keys

Similar to what we did in #157153, this commit does the same
but for read-only batches.

Testing showed no failures.

Fixes: #156537

Release note: none

@cockroach-teamcity
Copy link
Member

This change is Reviewable

…icated RangeID local keys

Similar to what we did in cockroachdb#157153, this commit does the same
but for read-only batches.

Testing showed no failures.
@blathers-crl
Copy link

blathers-crl bot commented Nov 21, 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.

@iskettaneh iskettaneh requested a review from pav-kv November 21, 2025 18:19
@iskettaneh iskettaneh marked this pull request as ready for review November 21, 2025 18:19
@iskettaneh iskettaneh requested a review from a team as a code owner November 21, 2025 18:19
@iskettaneh iskettaneh changed the title kvserver/spanset: introduce forbidden spans matchers spanset: assert read-only batches don't access store local and unreplicated RangeID local keys Nov 21, 2025
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.

kvserver: assert on log engine keys in eval

2 participants