-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: v21.2.4: unknown describe type: PrepareType #82785
Description
This issue was autofiled by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.
Sentry link: https://sentry.io/organizations/cockroach-labs/issues/3341859878/?referrer=webhooks_plugin
Panic message:
conn_executor_prepare.go:559: unknown describe type: PrepareType(0)
--
*errutil.leafError: unknown describe type: PrepareType(0) (1)
conn_executor_prepare.go:559: *withstack.withStack (top exception)
*assert.withAssertionFailure
(check the extra data payloads)
Stacktrace (expand for inline code snippets):
cockroach/pkg/sql/conn_executor_prepare.go
Lines 558 to 560 in 0c8df44
| default: | |
| return retErr(errors.AssertionFailedf( | |
| "unknown describe type: %s", errors.Safe(descCmd.Type))) |
cockroach/pkg/sql/conn_executor.go
Lines 1802 to 1804 in 0c8df44
| res = descRes | |
| ev, payload = ex.execDescribe(ctx, tcmd, descRes) | |
| case BindStmt: |
cockroach/pkg/sql/conn_executor.go
Lines 1630 to 1632 in 0c8df44
| var err error | |
| if err = ex.execCmd(ex.Ctx()); err != nil { | |
| if errors.IsAny(err, io.EOF, errDrainingComplete) { |
cockroach/pkg/sql/conn_executor.go
Lines 669 to 671 in 0c8df44
| }() | |
| return h.ex.run(ctx, s.pool, reserved, cancel) | |
| } |
cockroach/pkg/sql/pgwire/conn.go
Lines 647 to 649 in 0c8df44
| reservedOwned = false // We're about to pass ownership away. | |
| retErr = sqlServer.ServeConn(ctx, connHandler, reserved, cancelConn) | |
| }() |
/usr/local/go/src/runtime/asm_amd64.s#L1370-L1372 in runtime.goexit
pkg/sql/conn_executor_prepare.go in pkg/sql.(*connExecutor).execDescribe at line 559
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 1803
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1631
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 670
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 648
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1371
| Tag | Value |
|---|---|
| Cockroach Release | v21.2.4 |
| Cockroach SHA: | 0c8df44 |
| Platform | darwin amd64 |
| Distribution | CCL |
| Environment | development |
| Command | start-single-node |
| Go Version | `` |
| # of CPUs | |
| # of Goroutines |
Jira issue: CRDB-16660
Epic CRDB-14049