-
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 panic - select 1 as one from dual #9653
Comments
jakon89
added
Needs Triage
This issue needs to be correctly labelled and triaged
Type: Bug
labels
Feb 8, 2022
doesn't seem to be regression, the result for 12.0.3:
My first idea was this is regression introduced in https://github.com/vitessio/vitess/pull/9543/files but apparently its not. |
GuptaManan100
added
Component: Query Serving
and removed
Needs Triage
This issue needs to be correctly labelled and triaged
labels
Feb 9, 2022
2 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Overview of the Issue
vtgate panics when trying to execute below query:
The above query is sent by JOOQ library when reading DB schema (that schema is used then to generate java classes)
This happens for both shared and unsharded keyspaces.
Reproduction Steps
Binary Version
Log Fragments
vtgate: E0208 19:41:12.424888 401 server.go:319] mysql_server caught panic: assignment to entry in nil map runtime/map_faststr.go:204 (0x41306e) vitess.io/vitess/go/vt/vtgate/planbuilder/route.go:383 (0xe5c56e) vitess.io/vitess/go/vt/vtgate/planbuilder/expr.go:134 (0xe34a24) vitess.io/vitess/go/vt/vtgate/planbuilder/select.go:407 (0xe612c9) vitess.io/vitess/go/vt/vtgate/planbuilder/select.go:208 (0xe5fc44) vitess.io/vitess/go/vt/vtgate/planbuilder/select.go:55 (0xe5f679) vitess.io/vitess/go/vt/vtgate/planbuilder/select.go:64 (0xe5f402) vitess.io/vitess/go/vt/vtgate/planbuilder/builder.go:148 (0xe2ad19) vitess.io/vitess/go/vt/vtgate/planbuilder/builder.go:160 (0xe2ae95) vitess.io/vitess/go/vt/vtgate/planbuilder/builder.go:84 (0xe2a7d7) vitess.io/vitess/go/vt/vtgate/executor.go:1449 (0xec9f9d) vitess.io/vitess/go/vt/vtgate/plan_execute.go:63 (0xeced1d) vitess.io/vitess/go/vt/vtgate/executor.go:360 (0xebe958) vitess.io/vitess/go/vt/vtgate/executor.go:175 (0xebcf46) vitess.io/vitess/go/vt/vtgate/vtgate.go:382 (0xef5e9c) vitess.io/vitess/go/vt/vtgate/plugin_mysql_server.go:223 (0xed145a) vitess.io/vitess/go/mysql/conn.go:1260 (0xc124f5) vitess.io/vitess/go/mysql/conn.go:1245 (0xc1217d) vitess.io/vitess/go/mysql/conn.go:882 (0xc0f1ce) vitess.io/vitess/go/mysql/server.go:494 (0xc2d817) vitess.io/vitess/go/mysql/server.go:302 (0xc2c35e) runtime/asm_amd64.s:1581 (0x4691e0)
vttablets:
The text was updated successfully, but these errors were encountered: