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

Selecting too much data that overflows the gRPC packet limit still reports ERTooManyUserConnections #8852

Closed
aquarapid opened this issue Sep 20, 2021 · 0 comments · Fixed by #8853

Comments

@aquarapid
Copy link
Contributor

#6630 was supposed to address this, but the regex used to match and map the gRPC error message seems to have only handled the case where too much data was being inserted, not selected.

As a result, on current main, if you have a table with wide columns, I see:

mysql> select * from t1 limit 900;      
ERROR 1203 (42000): target: keyspace1.0.primary: vttablet: rpc error: code = ResourceExhausted desc = grpc: trying to send message larger than max (18015277 vs. 16777216)
mysql> 

Error 1203 is ERTooManyUserConnections; we want Error 1153 (ERNetPacketTooLarge).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant