-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
vtgate: regression from v10 to v11 on stream * from
queries
#8676
Comments
I'm not able to reproduce on an unsharded keyspace built from main @ f670e07. So seems to be related to sharding, which makes sense given the error. You just recently upgraded this cluster? I feel like we've had several reports of similar issues where the topo was a little off until additional steps were taken.
|
It's happening on an unsharded keyspace, but that has a full vschema in preparation for sharding sometime in the near future. It did happen while we were testing upgrades recently. I haven't tried I am not setting the workload to olap myself, though the driver might be doing that under the hood. Here's how we are configuring it in Go.
|
@derekperkins In your VStreamRequest are you setting the tabletType? If not, can you set that and try again. |
@systay / @harshit-gangal I actually did not test this correctly, and it does not solve my problem. When I set the target to master, I get this error: |
I promise I know how to use Vitess. I was testing |
I'm back. I deployed a canary v11.0.1 vtgate and this problem persists. I can still workaround it by setting |
I've spent half a day today trying to reproduce this problem and I have not been successful. Any chance you can whip up an end2end test that shows the issue? I just don't know how to make progress without being able to reproduce it |
@systay thanks for looking into this. I don't have bandwidth to do an end2end test for it, but I could grant you access to Vitess in our live environment if that would help. |
Overview of the Issue
We use Vitess Messaging via the SQL command
stream * from messages_table
, which has worked since roughly v2.2 without modification, tested on every released version through v11.0.0. After upgrading vtgate from v10.0.2 to v11.0.0 however, it immediately errors withrpc error: code = Unknown desc = No partition found for tabletType unknown in keyspace
. This happens regardless ofvttablet
orvtctld
version, and immediately goes away when downgrading vtgate back to any prior version, with no changes to the topo or any other config.Reproduction Steps
Steps to reproduce this issue:
Deploy the following
vschema
:Deploy the following
schema
:Binary version:
v11.0.0 Docker container
connecting via v11.0.0 Go vtitessdriver (grpc)
Operating system and Environment details
GKE 1.20.8-gke900
The text was updated successfully, but these errors were encountered: