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: require valid TenantID in start_replication_stream #73151

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

stevendanna
Copy link
Collaborator

MakeTenantID panics if someone tries to use 0 as a tenant ID. Here, we
return an error immediately in this case rather than crashing.

Fixes #71311

Release note: None

MakeTenantID panics if someone tries to use 0 as a tenant ID. Here, we
return an error immediately in this case rather than crashing.

Fixes cockroachdb#71311

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

thanks for this fix!

@rafiss
Copy link
Collaborator

rafiss commented Dec 13, 2021

@stevendanna can this be merged? i'd like to resolve #71311

@stevendanna
Copy link
Collaborator Author

@rafiss Yes, I think so. Thanks for the ping and the review!

bors r=rafiss

@craig
Copy link
Contributor

craig bot commented Dec 13, 2021

Build succeeded:

@craig craig bot merged commit d411bd0 into cockroachdb:master Dec 13, 2021
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.

sql/tests: TestRandomSyntaxFunctions failed
3 participants