You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-sentryOriginated from an in-the-wild panic report.
rename_database.go:312: expected to find column ids × in table id 266
--
*errutil.leafError: expected to find column ids × in table id 266 (1)
rename_database.go:312: *withstack.withStack (top exception)
*assert.withAssertionFailure
(check the extra data payloads)
in pkg/sql/pgwire.(*conn).processCommandsAsync.func1
/usr/local/go/src/runtime/asm_amd64.s#L1356-L1358 in runtime.goexit
pkg/sql/rename_database.go in pkg/sql.isAllowedDependentDescInRenameDatabase at line 312
pkg/sql/rename_database.go in pkg/sql.(*renameDatabaseNode).startExec.func1 at line 169
pkg/sql/catalog/tabledesc/structured.go in pkg/sql/catalog/tabledesc.(*Immutable).ForeachDependedOnBy at line 551
pkg/sql/rename_database.go in pkg/sql.(*renameDatabaseNode).startExec at line 163
pkg/sql/plan.go in pkg/sql.startExec.func2 at line 506
pkg/sql/walk.go in pkg/sql.(*planVisitor).visitInternal.func1 at line 119
pkg/sql/walk.go in pkg/sql.(*planVisitor).visitInternal at line 298
pkg/sql/walk.go in pkg/sql.(*planVisitor).visit at line 86
pkg/sql/walk.go in pkg/sql.walkPlan at line 50
pkg/sql/plan.go in pkg/sql.startExec at line 509
pkg/sql/plan_node_to_row_source.go in pkg/sql.(*planNodeToRowSource).Start at line 125
pkg/sql/execinfra/processorsbase.go in pkg/sql/execinfra.(*ProcessorBase).Run at line 774
pkg/sql/flowinfra/flow.go in pkg/sql/flowinfra.(*FlowBase).Run at line 393
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 417
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 997
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 1001
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 872
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 639
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 114
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 1465
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 1467
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 1391
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 508
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommandsAsync.func1 at line 626
/usr/local/go/src/runtime/asm_amd64.s in runtime.goexit at line 1357
The text was updated successfully, but these errors were encountered:
cockroach-teamcity
added
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
O-sentry
Originated from an in-the-wild panic report.
labels
Apr 4, 2021
yuzefovich
changed the title
sentry: rename_database.go:312: expected to find column ids × in table id 266
--
*errutil.leafError: expected to find column ids × in table id 266 (1)
rename_database.go:312: *withstack.withStack (top exception)
*assert.withAssertionFailure
(check the extra data payloads)
sql: v20.2.6: failed assertion when renaming database
Apr 4, 2021
This indicates a situation in which a view or type that depends on a table somehow lost its column reference to that table, but the view or type is there. Possibly a DROP COLUMN related thing.
@ajwerner, are we sure that Validate would catch this issue going forward?
C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.O-sentryOriginated from an in-the-wild panic report.
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/2317253918/?referrer=webhooks_plugin
Panic message:
Stacktrace (expand for inline code snippets):
cockroach/pkg/sql/rename_database.go
Lines 311 to 313 in 4da6dc3
cockroach/pkg/sql/rename_database.go
Lines 168 to 170 in 4da6dc3
cockroach/pkg/sql/catalog/tabledesc/structured.go
Lines 550 to 552 in 4da6dc3
cockroach/pkg/sql/rename_database.go
Lines 162 to 164 in 4da6dc3
cockroach/pkg/sql/plan.go
Lines 505 to 507 in 4da6dc3
cockroach/pkg/sql/walk.go
Lines 118 to 120 in 4da6dc3
cockroach/pkg/sql/walk.go
Lines 297 to 299 in 4da6dc3
cockroach/pkg/sql/walk.go
Lines 85 to 87 in 4da6dc3
cockroach/pkg/sql/walk.go
Lines 49 to 51 in 4da6dc3
cockroach/pkg/sql/plan.go
Lines 508 to 510 in 4da6dc3
cockroach/pkg/sql/plan_node_to_row_source.go
Lines 124 to 126 in 4da6dc3
cockroach/pkg/sql/execinfra/processorsbase.go
Lines 773 to 775 in 4da6dc3
cockroach/pkg/sql/flowinfra/flow.go
Lines 392 to 394 in 4da6dc3
cockroach/pkg/sql/distsql_running.go
Lines 416 to 418 in 4da6dc3
cockroach/pkg/sql/distsql_running.go
Lines 996 to 998 in 4da6dc3
cockroach/pkg/sql/conn_executor_exec.go
Lines 1000 to 1002 in 4da6dc3
cockroach/pkg/sql/conn_executor_exec.go
Lines 871 to 873 in 4da6dc3
cockroach/pkg/sql/conn_executor_exec.go
Lines 638 to 640 in 4da6dc3
cockroach/pkg/sql/conn_executor_exec.go
Lines 113 to 115 in 4da6dc3
cockroach/pkg/sql/conn_executor.go
Lines 1464 to 1466 in 4da6dc3
cockroach/pkg/sql/conn_executor.go
Lines 1466 to 1468 in 4da6dc3
cockroach/pkg/sql/conn_executor.go
Lines 1390 to 1392 in 4da6dc3
cockroach/pkg/sql/conn_executor.go
Lines 507 to 509 in 4da6dc3
cockroach/pkg/sql/pgwire/conn.go
Lines 625 to 627 in 4da6dc3
/usr/local/go/src/runtime/asm_amd64.s#L1356-L1358 in runtime.goexit
v20.2.6
The text was updated successfully, but these errors were encountered: