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

Handle mapping of gRPC packet overflows to ERTooManyUserConnections for SELECT cases too #8853

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

aquarapid
Copy link
Contributor

@aquarapid aquarapid commented Sep 20, 2021

Fixes #8852

See original PR #6630

This is a potential breaking change for those that depended on the old behavior of ERTooManyUserConnections being returned on a too-large SELECT, and mapped that to some application-side action.

Not addressed in this PR, but we should probably add an end-to-end test here to catch if/when the upstream gRPC error message is ever changed, since we track upstream gRPC now after having been frozen for years.

…, but only

for inserts, selects of too much data would still report ERTooManyUserConnections

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

LGTM

@systay
Copy link
Collaborator

systay commented Oct 5, 2021

Is this ready to merge?

@deepthi deepthi merged commit 6b31715 into vitessio:main Oct 5, 2021
@deepthi deepthi deleted the jg_fix_pkt_too_large branch October 5, 2021 15:14
systay added a commit that referenced this pull request Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Selecting too much data that overflows the gRPC packet limit still reports ERTooManyUserConnections
4 participants