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

sql/catalog/bootstrap: don't call PrefixEnd on tenant start key #131208

Merged
merged 1 commit into from
Sep 24, 2024

Conversation

stevendanna
Copy link
Collaborator

KVServer expects that split keys have a valid tenant prefix. Calling PrefixEnd() on the start key to a tenant does not produce a valid key as the tenant ID is encoded as a varint.

Epic: none
Release note: None

KVServer expects that split keys have a valid tenant prefix. Calling
PrefixEnd() on the start key to a tenant does not produce a valid key
as the tenant ID is encoded as a varint.

Epic: none
Release note: None
@stevendanna stevendanna requested a review from a team as a code owner September 23, 2024 15:14
@cockroach-teamcity
Copy link
Member

This change is Reviewable

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.

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @stevendanna)

Copy link
Collaborator

@jeffswenson jeffswenson left a comment

Choose a reason for hiding this comment

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

LGTM

@stevendanna
Copy link
Collaborator Author

bors r=jeffswenson,fqazi

@craig
Copy link
Contributor

craig bot commented Sep 23, 2024

Build failed:

  • unit_tests

@stevendanna
Copy link
Collaborator Author

bors retry

@craig craig bot merged commit 539917e into cockroachdb:master Sep 24, 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.

4 participants