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
Sentry: type_desc.go:701: building declarative schema change targets for DROP DATABASE: type × (223): referencing × 256 was dropped without dependency unlinking (1) attached stack trace -- stack t...
#114163
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.
"referencing %s %d was dropped without dependency unlinking", depDesc.DescriptorType(), id))
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).run at line 2054
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd at line 2133
pkg/sql/conn_executor.go in pkg/sql.(*connExecutor).execCmd.func1 at line 2129
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt at line 130
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execWithProfiling at line 2440
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmt.func1 at line 131
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).execStmtInOpenState at line 694
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).dispatchToExecutionEngine at line 1086
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).makeExecPlan at line 1475
pkg/sql/plan_opt.go in pkg/sql.(*planner).makeOptimizerPlan at line 232
pkg/sql/plan_opt.go in pkg/sql.(*optPlanningCtx).buildExecMemo at line 561
pkg/sql/opt/optbuilder/builder.go in pkg/sql/opt/optbuilder.(*Builder).Build at line 230
pkg/sql/opt/optbuilder/builder.go in pkg/sql/opt/optbuilder.(*Builder).buildStmtAtRoot at line 256
pkg/sql/opt/optbuilder/builder.go in pkg/sql/opt/optbuilder.(*Builder).buildStmt at line 421
pkg/sql/opt/optbuilder/opaque.go in pkg/sql/opt/optbuilder.(*Builder).tryBuildOpaque at line 70
pkg/sql/opaque.go in pkg/sql.buildOpaque at line 56
pkg/sql/schema_change_plan_node.go in pkg/sql.(*planner).SchemaChange at line 81
pkg/sql/schemachanger/scbuild/build.go in pkg/sql/schemachanger/scbuild.Build at line 61
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/process.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.Process at line 169
GOROOT/src/reflect/value.go in reflect.Value.Call at line 368
GOROOT/src/reflect/value.go in reflect.Value.call at line 584
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/drop_database.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.DropDatabase at line 57
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/helpers.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.undroppedBackrefs at line 233
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).BackReferences at line 578
pkg/sql/catalog/descriptor_id_set.go in pkg/sql/catalog.DescriptorIDSet.ForEach at line 52
pkg/util/pkg/util/fast_int_set.go in pkg/util.FastIntSet.ForEach at line 216
pkg/sql/catalog/descriptor_id_set.go in pkg/sql/catalog.DescriptorIDSet.ForEach.func1 at line 52
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).ensureDescriptor at line 930
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).readDescriptor at line 1022
pkg/sql/schemachanger/scdeps/build_deps.go in pkg/sql/schemachanger/scdeps.(*buildDeps).MustReadDescriptor at line 250
GOROOT/src/runtime/panic.go in runtime.gopanic at line 884
pkg/sql/schemachanger/scerrors/errors.go in pkg/sql/schemachanger/scerrors.EventLogger.HandlePanicAndLogError at line 81
GOROOT/src/reflect/value.go in reflect.Value.Call at line 368
GOROOT/src/reflect/value.go in reflect.Value.call at line 584
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/drop_database.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.DropDatabase at line 57
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/helpers.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.undroppedBackrefs at line 233
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).BackReferences at line 578
pkg/sql/catalog/descriptor_id_set.go in pkg/sql/catalog.DescriptorIDSet.ForEach at line 52
pkg/util/pkg/util/fast_int_set.go in pkg/util.FastIntSet.ForEach at line 216
pkg/sql/catalog/descriptor_id_set.go in pkg/sql/catalog.DescriptorIDSet.ForEach.func1 at line 52
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).ensureDescriptor at line 930
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).readDescriptor at line 1022
pkg/sql/schemachanger/scdeps/build_deps.go in pkg/sql/schemachanger/scdeps.(*buildDeps).MustReadDescriptor at line 248
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).GetImmutableDescriptorByID at line 77
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).getDescriptorByID at line 88
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorsByID at line 207
pkg/sql/catalog/descs/hydrate.go in pkg/sql/catalog/descs.(*Collection).hydrateDescriptors at line 102
pkg/sql/catalog/hydrateddesc/hydrate.go in pkg/sql/catalog/hydrateddesc.Hydrate at line 53
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.HydrateTypesInTableDescriptor at line 854
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.EnsureTypeIsHydrated at line 840
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.TypeLookupFunc.GetTypeDescriptor at line 797
pkg/sql/catalog/hydrateddesc/hydrate.go in pkg/sql/catalog/hydrateddesc.MakeTypeLookupFuncForHydration.func1 at line 74
pkg/sql/catalog/descs/hydrate.go in pkg/sql/catalog/descs.makeImmutableTypeLookupFunc.func1 at line 151
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).GetImmutableDescriptorByID at line 77
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).getDescriptorByID at line 88
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorsByID at line 203
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).finalizeDescriptors at line 566
pkg/sql/catalog/descs/validate.go in pkg/sql/catalog/descs.(*Collection).Validate at line 36
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.Validate at line 100
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).validateDescriptorsAtLevel at line 193
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.Validate.func3 at line 105
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.(*immutable).ValidateBackReferences at line 701
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).Report at line 177
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).decorate at line 253
pkg/sql/schemachanger/scbuild/build.go in pkg/sql/schemachanger/scbuild.Build at line 61
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/process.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.Process at line 169
GOROOT/src/reflect/value.go in reflect.Value.Call at line 368
GOROOT/src/reflect/value.go in reflect.Value.call at line 584
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/drop_database.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.DropDatabase at line 57
pkg/sql/schemachanger/scbuild/internal/scbuildstmt/helpers.go in pkg/sql/schemachanger/scbuild/internal/scbuildstmt.undroppedBackrefs at line 233
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).BackReferences at line 578
pkg/sql/catalog/descriptor_id_set.go in pkg/sql/catalog.DescriptorIDSet.ForEach at line 52
pkg/util/pkg/util/fast_int_set.go in pkg/util.FastIntSet.ForEach at line 216
pkg/sql/catalog/descriptor_id_set.go in pkg/sql/catalog.DescriptorIDSet.ForEach.func1 at line 52
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).ensureDescriptor at line 930
pkg/sql/schemachanger/scbuild/builder_state.go in pkg/sql/schemachanger/scbuild.(*builderState).readDescriptor at line 1022
pkg/sql/schemachanger/scdeps/build_deps.go in pkg/sql/schemachanger/scdeps.(*buildDeps).MustReadDescriptor at line 248
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).GetImmutableDescriptorByID at line 77
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).getDescriptorByID at line 88
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorsByID at line 207
pkg/sql/catalog/descs/hydrate.go in pkg/sql/catalog/descs.(*Collection).hydrateDescriptors at line 102
pkg/sql/catalog/hydrateddesc/hydrate.go in pkg/sql/catalog/hydrateddesc.Hydrate at line 53
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.HydrateTypesInTableDescriptor at line 854
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.EnsureTypeIsHydrated at line 840
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.TypeLookupFunc.GetTypeDescriptor at line 797
pkg/sql/catalog/hydrateddesc/hydrate.go in pkg/sql/catalog/hydrateddesc.MakeTypeLookupFuncForHydration.func1 at line 74
pkg/sql/catalog/descs/hydrate.go in pkg/sql/catalog/descs.makeImmutableTypeLookupFunc.func1 at line 151
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).GetImmutableDescriptorByID at line 77
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).getDescriptorByID at line 88
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.getDescriptorsByID at line 203
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).finalizeDescriptors at line 566
pkg/sql/catalog/descs/validate.go in pkg/sql/catalog/descs.(*Collection).Validate at line 36
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.Validate at line 100
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).validateDescriptorsAtLevel at line 193
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.Validate.func3 at line 105
pkg/sql/catalog/typedesc/type_desc.go in pkg/sql/catalog/typedesc.(*immutable).ValidateBackReferences at line 701
The text was updated successfully, but these errors were encountered:
cockroach-sentry
added
O-sentry
Originated from an in-the-wild panic report.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
labels
Nov 9, 2023
exalate-issue-syncbot
changed the title
Sentry: type_desc.go:701: building declarative schema change targets for DROP DATABASE: type × (223): referencing × 256 was dropped without dependency unlinking
(1) attached stack trace
-- stack t...
Sentry: type_desc.go:701: building declarative schema change targets for DROP DATABASE: type × (223): referencing × 256 was dropped without dependency unlinking (1) attached stack trace -- stack t...
Nov 12, 2023
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 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/4617448707/?referrer=webhooks_plugin
Panic Message:
Stacktrace (expand for inline code snippets):
cockroach/pkg/sql/conn_executor.go
Lines 2053 to 2055 in af6752b
cockroach/pkg/sql/conn_executor.go
Lines 2132 to 2134 in af6752b
cockroach/pkg/sql/conn_executor.go
Lines 2128 to 2130 in af6752b
cockroach/pkg/sql/conn_executor_exec.go
Lines 129 to 131 in af6752b
cockroach/pkg/sql/conn_executor_exec.go
Lines 2439 to 2441 in af6752b
cockroach/pkg/sql/conn_executor_exec.go
Lines 130 to 132 in af6752b
cockroach/pkg/sql/conn_executor_exec.go
Lines 693 to 695 in af6752b
cockroach/pkg/sql/conn_executor_exec.go
Lines 1085 to 1087 in af6752b
cockroach/pkg/sql/conn_executor_exec.go
Lines 1474 to 1476 in af6752b
cockroach/pkg/sql/plan_opt.go
Lines 231 to 233 in af6752b
cockroach/pkg/sql/plan_opt.go
Lines 560 to 562 in af6752b
cockroach/pkg/sql/opt/optbuilder/builder.go
Lines 229 to 231 in af6752b
cockroach/pkg/sql/opt/optbuilder/builder.go
Lines 255 to 257 in af6752b
cockroach/pkg/sql/opt/optbuilder/builder.go
Lines 420 to 422 in af6752b
cockroach/pkg/sql/opt/optbuilder/opaque.go
Lines 69 to 71 in af6752b
cockroach/pkg/sql/opaque.go
Lines 55 to 57 in af6752b
cockroach/pkg/sql/schema_change_plan_node.go
Lines 80 to 82 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/build.go
Lines 60 to 62 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/process.go
Lines 168 to 170 in af6752b
GOROOT/src/reflect/value.go#L367-L369
GOROOT/src/reflect/value.go#L583-L585
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/drop_database.go
Lines 56 to 58 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/helpers.go
Lines 232 to 234 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 577 to 579 in af6752b
cockroach/pkg/sql/catalog/descriptor_id_set.go
Lines 51 to 53 in af6752b
https://github.com/cockroachdb/cockroach/blob/af6752b2faf39115fd322e9db76421e71b76507d/pkg/util/pkg/util/fast_int_set.go#L215-L217
cockroach/pkg/sql/catalog/descriptor_id_set.go
Lines 51 to 53 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 929 to 931 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 1021 to 1023 in af6752b
cockroach/pkg/sql/schemachanger/scdeps/build_deps.go
Lines 249 to 251 in af6752b
GOROOT/src/runtime/panic.go#L883-L885
cockroach/pkg/sql/schemachanger/scerrors/errors.go
Lines 80 to 82 in af6752b
GOROOT/src/reflect/value.go#L367-L369
GOROOT/src/reflect/value.go#L583-L585
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/drop_database.go
Lines 56 to 58 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/helpers.go
Lines 232 to 234 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 577 to 579 in af6752b
cockroach/pkg/sql/catalog/descriptor_id_set.go
Lines 51 to 53 in af6752b
https://github.com/cockroachdb/cockroach/blob/af6752b2faf39115fd322e9db76421e71b76507d/pkg/util/pkg/util/fast_int_set.go#L215-L217
cockroach/pkg/sql/catalog/descriptor_id_set.go
Lines 51 to 53 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 929 to 931 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 1021 to 1023 in af6752b
cockroach/pkg/sql/schemachanger/scdeps/build_deps.go
Lines 247 to 249 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 76 to 78 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 87 to 89 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 206 to 208 in af6752b
cockroach/pkg/sql/catalog/descs/hydrate.go
Lines 101 to 103 in af6752b
cockroach/pkg/sql/catalog/hydrateddesc/hydrate.go
Lines 52 to 54 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 853 to 855 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 839 to 841 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 796 to 798 in af6752b
cockroach/pkg/sql/catalog/hydrateddesc/hydrate.go
Lines 73 to 75 in af6752b
cockroach/pkg/sql/catalog/descs/hydrate.go
Lines 150 to 152 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 76 to 78 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 87 to 89 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 202 to 204 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 565 to 567 in af6752b
cockroach/pkg/sql/catalog/descs/validate.go
Lines 35 to 37 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 99 to 101 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 192 to 194 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 104 to 106 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 700 to 702 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 176 to 178 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 252 to 254 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/build.go
Lines 60 to 62 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/process.go
Lines 168 to 170 in af6752b
GOROOT/src/reflect/value.go#L367-L369
GOROOT/src/reflect/value.go#L583-L585
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/drop_database.go
Lines 56 to 58 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/internal/scbuildstmt/helpers.go
Lines 232 to 234 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 577 to 579 in af6752b
cockroach/pkg/sql/catalog/descriptor_id_set.go
Lines 51 to 53 in af6752b
https://github.com/cockroachdb/cockroach/blob/af6752b2faf39115fd322e9db76421e71b76507d/pkg/util/pkg/util/fast_int_set.go#L215-L217
cockroach/pkg/sql/catalog/descriptor_id_set.go
Lines 51 to 53 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 929 to 931 in af6752b
cockroach/pkg/sql/schemachanger/scbuild/builder_state.go
Lines 1021 to 1023 in af6752b
cockroach/pkg/sql/schemachanger/scdeps/build_deps.go
Lines 247 to 249 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 76 to 78 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 87 to 89 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 206 to 208 in af6752b
cockroach/pkg/sql/catalog/descs/hydrate.go
Lines 101 to 103 in af6752b
cockroach/pkg/sql/catalog/hydrateddesc/hydrate.go
Lines 52 to 54 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 853 to 855 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 839 to 841 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 796 to 798 in af6752b
cockroach/pkg/sql/catalog/hydrateddesc/hydrate.go
Lines 73 to 75 in af6752b
cockroach/pkg/sql/catalog/descs/hydrate.go
Lines 150 to 152 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 76 to 78 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 87 to 89 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 202 to 204 in af6752b
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 565 to 567 in af6752b
cockroach/pkg/sql/catalog/descs/validate.go
Lines 35 to 37 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 99 to 101 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 192 to 194 in af6752b
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 104 to 106 in af6752b
cockroach/pkg/sql/catalog/typedesc/type_desc.go
Lines 700 to 702 in af6752b
Tags
Jira issue: CRDB-33374
The text was updated successfully, but these errors were encountered: