Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crdb: fix untyped version seek, add tests #4101

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

RaduBerinde
Copy link
Member

crdbtest: add tests

This change adds tests for block encoding, suffix types, and key seek.
It also fixes some bugs related to the suffix types.

crdb: fix untyped version seek

The comparison when searching for an untyped version was in the wrong
direction (suffixes are in reverse order).

@RaduBerinde RaduBerinde requested a review from a team as a code owner October 23, 2024 19:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde RaduBerinde changed the title crdb: fix untyped version seek crdb: fix untyped version seek, add tests Oct 23, 2024
This change adds tests for block encoding, suffix types, and key seek.
It also fixes some bugs related to the suffix types.
The comparison when searching for an untyped version was in the wrong
direction (suffixes are in reverse order).
Copy link
Collaborator

@jbowens jbowens left a comment

Choose a reason for hiding this comment

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

:lgtm:

good catch

Reviewed 7 of 7 files at r1, 2 of 2 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @RaduBerinde)

@RaduBerinde RaduBerinde merged commit 8bf23da into cockroachdb:master Oct 23, 2024
23 checks passed
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.

3 participants