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

kvserver: remove the assertion on not exceeding MaxSpanRequestKeys #92942

Merged
merged 1 commit into from
Dec 2, 2022

Conversation

yuzefovich
Copy link
Member

This commit fixes the bug in a recently merged commit where we allowed to exceed MaxSpanRequestKeys in some cases - we forgot to update the remaining limit to be "exhausted". Furthermore, this commit removes the assertion altogether.

Epic: None

Release note: None

@yuzefovich yuzefovich requested review from erikgrinaker and a team December 2, 2022 18:52
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@yuzefovich
Copy link
Member Author

Well, a "simple" change in #92883 was buggy, so let's remove the assertion like you were suggesting :)

This commit fixes the bug in a recently merged commit where we allowed
to exceed `MaxSpanRequestKeys` in some cases - we forgot to update the
remaining limit to be "exhausted". Furthermore, this commit removes the
assertion altogether.

Epic: None

Release note: None
@yuzefovich
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Dec 2, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Dec 2, 2022

This PR was included in a batch that was canceled, it will be automatically retried

@craig
Copy link
Contributor

craig bot commented Dec 2, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Dec 2, 2022

Build succeeded:

@craig craig bot merged commit 865ad56 into cockroachdb:master Dec 2, 2022
@yuzefovich yuzefovich deleted the remove-assertion branch December 2, 2022 23:43
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