Skip to content

kvserver: remove the assertion on not exceeding MaxSpanRequestKeys#92942

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:remove-assertion
Dec 2, 2022
Merged

kvserver: remove the assertion on not exceeding MaxSpanRequestKeys#92942
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:remove-assertion

Conversation

@yuzefovich
Copy link
Copy Markdown
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 a team and erikgrinaker December 2, 2022 18:52
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@yuzefovich
Copy link
Copy Markdown
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
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Dec 2, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
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
Copy Markdown
Contributor

craig bot commented Dec 2, 2022

Build failed (retrying...):

@craig
Copy link
Copy Markdown
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