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

colblk: fix crdb seekGEOnSuffix #4007

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RaduBerinde
Copy link
Member

This commit fixes a number of bugs in seekGEOnSuffix which cause
incorrect SeekGE results when there are multiple suffixes with the
same prefix or when there isn't an exact key match.

We change the schema to not include the separator 0 byte in the
encoded prefixes and make sure the read and write side agree on this.

This commit fixes a number of bugs in `seekGEOnSuffix` which cause
incorrect `SeekGE` results when there are multiple suffixes with the
same prefix or when there isn't an exact key match.

We change the schema to not include the separator 0 byte in the
encoded prefixes and make sure the read and write side agree on this.
@RaduBerinde RaduBerinde requested a review from a team as a code owner October 6, 2024 22:23
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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.

2 participants