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

Sentry: table_desc_builder.go:1320: crdb_internal.unsafe_upsert_descriptor(): table × (201): identity column × (1) on table × must own a sequence (1) Wraps: (2) keys: [crdb_internal.unsafe_upsert_d... #139076

Closed
cockroach-sentry opened this issue Jan 14, 2025 · 2 comments
Labels
branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-blathers-triaged blathers was able to find an owner

Comments

@cockroach-sentry
Copy link
Collaborator

cockroach-sentry commented Jan 14, 2025

This issue was auto filed by Sentry. It represents a crash or reported error on a live cluster with telemetry enabled.

Sentry Link: https://cockroach-labs.sentry.io/issues/6219630514/?referrer=webhooks_plugin

Panic Message:

table_desc_builder.go:1320: crdb_internal.unsafe_upsert_descriptor(): table × (201): identity column × (1) on table × must own a sequence
(1)
Wraps: (2) keys: [crdb_internal.unsafe_upsert_descriptor()]
Wraps: (3) attached stack trace
  -- stack trace:
  | github.com/cockroachdb/cockroach/pkg/sql/sem/tree.(*FuncExpr).MaybeWrapError
  | 	pkg/sql/sem/tree/eval.go:2172
  | github.com/cockroachdb/cockroach/pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next.func1
  | 	pkg/sql/colexec/builtin_funcs.go:74
  | github.com/cockroachdb/cockroach/pkg/sql/colmem.(*Allocator).PerformOperation
  | 	pkg/sql/colmem/allocator.go:443
  | github.com/cockroachdb/cockroach/pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next
  | 	pkg/sql/colexec/builtin_funcs.go:49
  | github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecbase.(*simpleProjectOp).Next
  | 	pkg/sql/colexec/colexecbase/simple_project.go:119
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).next
  | 	pkg/sql/colflow/stats.go:113
  | github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError
  | 	pkg/sql/colexecerror/error.go:162
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Next
  | 	pkg/sql/colflow/stats.go:121
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter
  | 	pkg/sql/colflow/flow_coordinator.go:241
  | github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError
  | 	pkg/sql/colexecerror/error.go:162
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).next
  | 	pkg/sql/colflow/flow_coordinator.go:245
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).Run
  | 	pkg/sql/colflow/flow_coordinator.go:277
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*vectorizedFlow).Run
  | 	pkg/sql/colflow/vectorized_flow.go:315
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).Run
  | 	pkg/sql/distsql_running.go:924
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRun
  | 	pkg/sql/distsql_running.go:2017
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3
  | 	pkg/sql/distsql_running.go:1731
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll
  | 	pkg/sql/distsql_running.go:1734
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithDistSQLEngine
  | 	pkg/sql/conn_executor_exec.go:2440
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine
  | 	pkg/sql/conn_executor_exec.go:1986
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState
  | 	pkg/sql/conn_executor_exec.go:1192
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt.func1
  | 	pkg/sql/conn_executor_exec.go:141
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithProfiling
  | 	pkg/sql/conn_executor_exec.go:3456
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt
  | 	pkg/sql/conn_executor_exec.go:140
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd.func1
  | 	pkg/sql/conn_executor.go:2341
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd
  | 	pkg/sql/conn_executor.go:2346
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).run
  | 	pkg/sql/conn_executor.go:2263
  | github.com/cockroachdb/cockroach/pkg/sql.(*Server).ServeConn
  | 	pkg/sql/conn_executor.go:963
  | github.com/cockroachdb/cockroach/pkg/sql/pgwire.(*conn).processCommands
  | 	pkg/sql/pgwire/conn.go:251
  | github.com/cockroachdb/cockroach/pkg/sql/pgwire.(*Server).serveImpl.func4
  | 	pkg/sql/pgwire/server.go:1196
Wraps: (4) crdb_internal.unsafe_upsert_descriptor()
Wraps: (5) attached stack trace
  -- stack trace:
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/tabledesc.(*tableDescriptorBuilder).RunPostDeserializationChanges.func1
  | 	pkg/sql/catalog/tabledesc/table_desc_builder.go:159
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/tabledesc.(*tableDescriptorBuilder).RunPostDeserializationChanges
  | 	pkg/sql/catalog/tabledesc/table_desc_builder.go:172
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descbuilder.fromProtobufAndMVCCTimestamp
  | 	pkg/sql/catalog/descbuilder/desc_builder.go:68
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/descbuilder.FromSerializedValue
  | 	pkg/sql/catalog/descbuilder/desc_builder.go:46
  | github.com/cockroachdb/cockroach/pkg/sql.unsafeReadDescriptor
  | 	pkg/sql/repair.go:713
  | github.com/cockroachdb/cockroach/pkg/sql.(*planner).UnsafeUpsertDescriptor
  | 	pkg/sql/repair.go:82
  | github.com/cockroachdb/cockroach/pkg/sql/sem/builtins.init.func672
  | 	pkg/sql/sem/builtins/builtins.go:6598
  | github.com/cockroachdb/cockroach/pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next.func1
  | 	pkg/sql/colexec/builtin_funcs.go:72
  | github.com/cockroachdb/cockroach/pkg/sql/colmem.(*Allocator).PerformOperation
  | 	pkg/sql/colmem/allocator.go:443
  | github.com/cockroachdb/cockroach/pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next
  | 	pkg/sql/colexec/builtin_funcs.go:49
  | github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecbase.(*simpleProjectOp).Next
  | 	pkg/sql/colexec/colexecbase/simple_project.go:119
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).next
  | 	pkg/sql/colflow/stats.go:113
  | github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError
  | 	pkg/sql/colexecerror/error.go:162
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*batchInfoCollector).Next
  | 	pkg/sql/colflow/stats.go:121
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter
  | 	pkg/sql/colflow/flow_coordinator.go:241
  | github.com/cockroachdb/cockroach/pkg/sql/colexecerror.CatchVectorizedRuntimeError
  | 	pkg/sql/colexecerror/error.go:162
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).next
  | 	pkg/sql/colflow/flow_coordinator.go:245
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*BatchFlowCoordinator).Run
  | 	pkg/sql/colflow/flow_coordinator.go:277
  | github.com/cockroachdb/cockroach/pkg/sql/colflow.(*vectorizedFlow).Run
  | 	pkg/sql/colflow/vectorized_flow.go:315
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).Run
  | 	pkg/sql/distsql_running.go:924
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRun
  | 	pkg/sql/distsql_running.go:2017
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3
  | 	pkg/sql/distsql_running.go:1731
  | github.com/cockroachdb/cockroach/pkg/sql.(*DistSQLPlanner).PlanAndRunAll
  | 	pkg/sql/distsql_running.go:1734
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithDistSQLEngine
  | 	pkg/sql/conn_executor_exec.go:2440
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).dispatchToExecutionEngine
  | 	pkg/sql/conn_executor_exec.go:1986
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmtInOpenState
  | 	pkg/sql/conn_executor_exec.go:1192
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt.func1
  | 	pkg/sql/conn_executor_exec.go:141
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execWithProfiling
  | 	pkg/sql/conn_executor_exec.go:3456
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execStmt
  | 	pkg/sql/conn_executor_exec.go:140
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd.func1
  | 	pkg/sql/conn_executor.go:2341
  | github.com/cockroachdb/cockroach/pkg/sql.(*connExecutor).execCmd
  | 	pkg/sql/conn_executor.go:2346
Wraps: (6) table × (201)
Wraps: (7) assertion failure
Wraps: (8) attached stack trace
  -- stack trace:
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/tabledesc.maybeFixUsesSequencesIDForIdentityColumns
  | 	pkg/sql/catalog/tabledesc/table_desc_builder.go:1320
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/tabledesc.maybeFillInDescriptor
  | 	pkg/sql/catalog/tabledesc/table_desc_builder.go:517
  | github.com/cockroachdb/cockroach/pkg/sql/catalog/tabledesc.(*tableDescriptorBuilder).RunPostDeserializationChanges
  | 	pkg/sql/catalog/tabledesc/table_desc_bu...
Stacktrace (expand for inline code snippets):

src/runtime/asm_amd64.s#L1694-L1696
pkg/sql/pgwire/server.go#L1195-L1197
pkg/sql/pgwire/conn.go#L250-L252
pkg/sql/conn_executor.go#L962-L964
pkg/sql/conn_executor.go#L2262-L2264
pkg/sql/conn_executor.go#L2345-L2347
pkg/sql/conn_executor.go#L2340-L2342
pkg/sql/conn_executor_exec.go#L139-L141
pkg/sql/conn_executor_exec.go#L3455-L3457
pkg/sql/conn_executor_exec.go#L140-L142
pkg/sql/conn_executor_exec.go#L1191-L1193
pkg/sql/conn_executor_exec.go#L1985-L1987
pkg/sql/conn_executor_exec.go#L2439-L2441
pkg/sql/distsql_running.go#L1733-L1735
pkg/sql/distsql_running.go#L1730-L1732
pkg/sql/distsql_running.go#L2016-L2018
pkg/sql/distsql_running.go#L923-L925
pkg/sql/colflow/vectorized_flow.go#L314-L316
pkg/sql/colflow/flow_coordinator.go#L276-L278
pkg/sql/colflow/flow_coordinator.go#L244-L246
pkg/sql/colexecerror/error.go#L161-L163
pkg/sql/colflow/flow_coordinator.go#L240-L242
pkg/sql/colflow/stats.go#L120-L122
pkg/sql/colexecerror/error.go#L161-L163
pkg/sql/colflow/stats.go#L112-L114
pkg/sql/colexec/colexecbase/simple_project.go#L118-L120
pkg/sql/colexec/builtin_funcs.go#L48-L50
pkg/sql/colmem/allocator.go#L442-L444
pkg/sql/colexec/builtin_funcs.go#L73-L75
pkg/sql/sem/tree/eval.go#L2171-L2173
pkg/sql/conn_executor.go#L2262-L2264
pkg/sql/conn_executor.go#L2345-L2347
pkg/sql/conn_executor.go#L2340-L2342
pkg/sql/conn_executor_exec.go#L139-L141
pkg/sql/conn_executor_exec.go#L3455-L3457
pkg/sql/conn_executor_exec.go#L140-L142
pkg/sql/conn_executor_exec.go#L1191-L1193
pkg/sql/conn_executor_exec.go#L1985-L1987
pkg/sql/conn_executor_exec.go#L2439-L2441
pkg/sql/distsql_running.go#L1733-L1735
pkg/sql/distsql_running.go#L1730-L1732
pkg/sql/distsql_running.go#L2016-L2018
pkg/sql/distsql_running.go#L923-L925
pkg/sql/colflow/vectorized_flow.go#L314-L316
pkg/sql/colflow/flow_coordinator.go#L276-L278
pkg/sql/colflow/flow_coordinator.go#L244-L246
pkg/sql/colexecerror/error.go#L161-L163
pkg/sql/colflow/flow_coordinator.go#L240-L242
pkg/sql/colflow/stats.go#L120-L122
pkg/sql/colexecerror/error.go#L161-L163
pkg/sql/colflow/stats.go#L112-L114
pkg/sql/colexec/colexecbase/simple_project.go#L118-L120
pkg/sql/colexec/builtin_funcs.go#L48-L50
pkg/sql/colmem/allocator.go#L442-L444
pkg/sql/colexec/builtin_funcs.go#L71-L73
pkg/sql/sem/builtins/builtins.go#L6597-L6599
pkg/sql/repair.go#L81-L83
pkg/sql/repair.go#L712-L714
pkg/sql/catalog/descbuilder/desc_builder.go#L45-L47
pkg/sql/catalog/descbuilder/desc_builder.go#L67-L69
pkg/sql/catalog/tabledesc/table_desc_builder.go#L171-L173
pkg/sql/catalog/tabledesc/table_desc_builder.go#L158-L160
pkg/sql/conn_executor.go#L2345-L2347
pkg/sql/conn_executor.go#L2340-L2342
pkg/sql/conn_executor_exec.go#L139-L141
pkg/sql/conn_executor_exec.go#L3455-L3457
pkg/sql/conn_executor_exec.go#L140-L142
pkg/sql/conn_executor_exec.go#L1191-L1193
pkg/sql/conn_executor_exec.go#L1985-L1987
pkg/sql/conn_executor_exec.go#L2439-L2441
pkg/sql/distsql_running.go#L1733-L1735
pkg/sql/distsql_running.go#L1730-L1732
pkg/sql/distsql_running.go#L2016-L2018
pkg/sql/distsql_running.go#L923-L925
pkg/sql/colflow/vectorized_flow.go#L314-L316
pkg/sql/colflow/flow_coordinator.go#L276-L278
pkg/sql/colflow/flow_coordinator.go#L244-L246
pkg/sql/colexecerror/error.go#L161-L163
pkg/sql/colflow/flow_coordinator.go#L240-L242
pkg/sql/colflow/stats.go#L120-L122
pkg/sql/colexecerror/error.go#L161-L163
pkg/sql/colflow/stats.go#L112-L114
pkg/sql/colexec/colexecbase/simple_project.go#L118-L120
pkg/sql/colexec/builtin_funcs.go#L48-L50
pkg/sql/colmem/allocator.go#L442-L444
pkg/sql/colexec/builtin_funcs.go#L71-L73
pkg/sql/sem/builtins/builtins.go#L6597-L6599
pkg/sql/repair.go#L81-L83
pkg/sql/repair.go#L712-L714
pkg/sql/catalog/descbuilder/desc_builder.go#L45-L47
pkg/sql/catalog/descbuilder/desc_builder.go#L67-L69
pkg/sql/catalog/tabledesc/table_desc_builder.go#L169-L171
pkg/sql/catalog/tabledesc/table_desc_builder.go#L516-L518
pkg/sql/catalog/tabledesc/table_desc_builder.go#L1319-L1321

src/runtime/asm_amd64.s in runtime.goexit at line 1695
pkg/sql/pgwire/server.go in pkg/sql/pgwire.(*Server).serveImpl.func4 at line 1196
pkg/sql/pgwire/conn.go in pkg/sql/pgwire.(*conn).processCommands at line 251
pkg/sql/conn_executor.go in pkg/sql.(*Server).ServeConn at line 963
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 2263
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2346
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 2341
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 140
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 3456
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 141
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 1192
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1986
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 2440
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll at line 1734
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1731
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 2017
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 924
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 315
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).Run at line 277
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).next at line 245
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 162
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter at line 241
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).Next at line 121
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 162
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).next at line 113
pkg/sql/colexec/colexecbase/simple_project.go in pkg/sql/colexec/colexecbase.(*simpleProjectOp).Next at line 119
pkg/sql/colexec/builtin_funcs.go in pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next at line 49
pkg/sql/colmem/allocator.go in pkg/sql/colmem.(*Allocator).PerformOperation at line 443
pkg/sql/colexec/builtin_funcs.go in pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next.func1 at line 74
pkg/sql/sem/tree/eval.go in pkg/sql/sem/tree.(*FuncExpr).MaybeWrapError at line 2172
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 2263
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2346
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 2341
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 140
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 3456
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 141
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 1192
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1986
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 2440
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll at line 1734
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1731
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 2017
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 924
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 315
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).Run at line 277
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).next at line 245
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 162
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter at line 241
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).Next at line 121
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 162
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).next at line 113
pkg/sql/colexec/colexecbase/simple_project.go in pkg/sql/colexec/colexecbase.(*simpleProjectOp).Next at line 119
pkg/sql/colexec/builtin_funcs.go in pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next at line 49
pkg/sql/colmem/allocator.go in pkg/sql/colmem.(*Allocator).PerformOperation at line 443
pkg/sql/colexec/builtin_funcs.go in pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next.func1 at line 72
pkg/sql/sem/builtins/builtins.go in pkg/sql/sem/builtins.init.func672 at line 6598
pkg/sql/repair.go in pkg/sql.(*planner).UnsafeUpsertDescriptor at line 82
pkg/sql/repair.go in pkg/sql.unsafeReadDescriptor at line 713
pkg/sql/catalog/descbuilder/desc_builder.go in pkg/sql/catalog/descbuilder.FromSerializedValue at line 46
pkg/sql/catalog/descbuilder/desc_builder.go in pkg/sql/catalog/descbuilder.fromProtobufAndMVCCTimestamp at line 68
pkg/sql/catalog/tabledesc/table_desc_builder.go in pkg/sql/catalog/tabledesc.(*tableDescriptorBuilder).RunPostDeserializationChanges at line 172
pkg/sql/catalog/tabledesc/table_desc_builder.go in pkg/sql/catalog/tabledesc.(*tableDescriptorBuilder).RunPostDeserializationChanges.func1 at line 159
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2346
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 2341
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 140
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 3456
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 141
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 1192
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1986
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithDistSQLEngine at line 2440
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll at line 1734
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRunAll.func3 at line 1731
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).PlanAndRun at line 2017
pkg/sql/distsql_running.go in pkg/sql.(*DistSQLPlanner).Run at line 924
pkg/sql/colflow/vectorized_flow.go in pkg/sql/colflow.(*vectorizedFlow).Run at line 315
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).Run at line 277
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).next at line 245
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 162
pkg/sql/colflow/flow_coordinator.go in pkg/sql/colflow.(*BatchFlowCoordinator).nextAdapter at line 241
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).Next at line 121
pkg/sql/colexecerror/error.go in pkg/sql/colexecerror.CatchVectorizedRuntimeError at line 162
pkg/sql/colflow/stats.go in pkg/sql/colflow.(*batchInfoCollector).next at line 113
pkg/sql/colexec/colexecbase/simple_project.go in pkg/sql/colexec/colexecbase.(*simpleProjectOp).Next at line 119
pkg/sql/colexec/builtin_funcs.go in pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next at line 49
pkg/sql/colmem/allocator.go in pkg/sql/colmem.(*Allocator).PerformOperation at line 443
pkg/sql/colexec/builtin_funcs.go in pkg/sql/colexec.(*defaultBuiltinFuncOperator).Next.func1 at line 72
pkg/sql/sem/builtins/builtins.go in pkg/sql/sem/builtins.init.func672 at line 6598
pkg/sql/repair.go in pkg/sql.(*planner).UnsafeUpsertDescriptor at line 82
pkg/sql/repair.go in pkg/sql.unsafeReadDescriptor at line 713
pkg/sql/catalog/descbuilder/desc_builder.go in pkg/sql/catalog/descbuilder.FromSerializedValue at line 46
pkg/sql/catalog/descbuilder/desc_builder.go in pkg/sql/catalog/descbuilder.fromProtobufAndMVCCTimestamp at line 68
pkg/sql/catalog/tabledesc/table_desc_builder.go in pkg/sql/catalog/tabledesc.(*tableDescriptorBuilder).RunPostDeserializationChanges at line 170
pkg/sql/catalog/tabledesc/table_desc_builder.go in pkg/sql/catalog/tabledesc.maybeFillInDescriptor at line 517
pkg/sql/catalog/tabledesc/table_desc_builder.go in pkg/sql/catalog/tabledesc.maybeFixUsesSequencesIDForIdentityColumns at line 1320

Tags

Tag Value
Command server
Environment v24.3.3
Go Version go1.22.8 X:nocoverageredesign
Platform linux amd64
Distribution CCL
Cockroach Release v24.3.3
Cockroach SHA 343b420
# of CPUs 4
# of Goroutines 530

Jira issue: CRDB-46492

@cockroach-sentry cockroach-sentry added branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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 Jan 14, 2025
Copy link

blathers-crl bot commented Jan 14, 2025

CC'ing via the CODEOWNERS-based sentry heuristic:

  • @cockroachdb/sql-foundations

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@blathers-crl blathers-crl bot added T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-blathers-triaged blathers was able to find an owner labels Jan 14, 2025
@rafiss
Copy link
Collaborator

rafiss commented Jan 14, 2025

dupe of #138972

@rafiss rafiss closed this as completed Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 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. T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) X-blathers-triaged blathers was able to find an owner
Projects
None yet
Development

No branches or pull requests

2 participants