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.
log.VEventf(ctx, 1, "optimizer plan failed: %v", err)
in pkg/sql.(*connExecutor).makeExecPlan
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).decorate at line 214
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).Report at line 149
pkg/sql/catalog/tabledesc/validate.go in pkg/sql/catalog/tabledesc.(*wrapper).ValidateCrossReferences at line 188
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.Validate.func2 at line 77
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.(*validationErrorAccumulator).validateDescriptorsAtLevel at line 165
pkg/sql/catalog/internal/validate/validate.go in pkg/sql/catalog/internal/validate.Validate at line 72
pkg/sql/catalog/internal/catkv/descriptors.go in pkg/sql/catalog/internal/catkv.lookupDescriptorsAndValidate at line 71
pkg/sql/catalog/internal/catkv/descriptors.go in pkg/sql/catalog/internal/catkv.MustGetDescriptorsByID at line 164
pkg/sql/catalog/descs/kv_descriptors.go in pkg/sql/catalog/descs.(*kvDescriptors).getByIDs at line 253
pkg/sql/catalog/descs/kv_descriptors.go in pkg/sql/catalog/descs.(*kvDescriptors).getByName at line 200
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).getByName.func1 at line 355
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).withReadFromStore at line 374
pkg/sql/catalog/descs/descriptor.go in pkg/sql/catalog/descs.(*Collection).getByName at line 344
pkg/sql/catalog/descs/object.go in pkg/sql/catalog/descs.(*Collection).getObjectByNameIgnoringRequiredAndType at line 200
pkg/sql/catalog/descs/object.go in pkg/sql/catalog/descs.(*Collection).getObjectByName at line 67
pkg/sql/catalog/descs/object.go in pkg/sql/catalog/descs.(*Collection).GetObjectDesc at line 41
pkg/sql/resolver.go in pkg/sql.(*planner).LookupObject at line 200
pkg/sql/catalog/resolver/resolver.go in pkg/sql/catalog/resolver.ResolveExisting at line 410
pkg/sql/catalog/resolver/resolver.go in pkg/sql/catalog/resolver.ResolveExistingObject at line 193
pkg/sql/catalog/resolver/resolver.go in pkg/sql/catalog/resolver.ResolveMutableExistingTableObject at line 152
pkg/sql/resolver.go in pkg/sql.(*planner).ResolveMutableTableDescriptor at line 76
pkg/sql/drop_table.go in pkg/sql.(*planner).prepareDrop at line 164
pkg/sql/drop_sequence.go in pkg/sql.(*planner).DropSequence at line 48
pkg/sql/opaque.go in pkg/sql.planOpaque at line 173
pkg/sql/opaque.go in pkg/sql.buildOpaque at line 68
pkg/sql/opt/optbuilder/opaque.go in pkg/sql/opt/optbuilder.(*Builder).tryBuildOpaque at line 69
pkg/sql/opt/optbuilder/builder.go in pkg/sql/opt/optbuilder.(*Builder).buildStmt at line 377
pkg/sql/opt/optbuilder/builder.go in pkg/sql/opt/optbuilder.(*Builder).buildStmtAtRoot at line 241
pkg/sql/opt/optbuilder/builder.go in pkg/sql/opt/optbuilder.(*Builder).Build at line 215
pkg/sql/plan_opt.go in pkg/sql.(*optPlanningCtx).buildExecMemo at line 553
pkg/sql/plan_opt.go in pkg/sql.(*planner).makeOptimizerPlan at line 226
pkg/sql/conn_executor_exec.go in pkg/sql.(*connExecutor).makeExecPlan at line 1433
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
Jan 9, 2023
exalate-issue-syncbot
changed the title
sentry: validate.go:298: relation × (67): invalid depended-on-by relation back reference: referenced table ID 66: referenced descriptor not found
(1) keys: [sql.schema.validation_errors.read.cross_references....
sentry: validate.go:298: relation × (67): invalid depended-on-by relation back reference: referenced table ID 66: referenced descriptor not found (1) keys: [sql.schema.validation_errors.read.cross_references....
Jan 19, 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 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/3863264251/?referrer=webhooks_plugin
Panic message:
Stacktrace (expand for inline code snippets):
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 213 to 215 in 3b76f78
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 148 to 150 in 3b76f78
cockroach/pkg/sql/catalog/tabledesc/validate.go
Lines 187 to 189 in 3b76f78
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 76 to 78 in 3b76f78
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 164 to 166 in 3b76f78
cockroach/pkg/sql/catalog/internal/validate/validate.go
Lines 71 to 73 in 3b76f78
cockroach/pkg/sql/catalog/internal/catkv/descriptors.go
Lines 70 to 72 in 3b76f78
cockroach/pkg/sql/catalog/internal/catkv/descriptors.go
Lines 163 to 165 in 3b76f78
cockroach/pkg/sql/catalog/descs/kv_descriptors.go
Lines 252 to 254 in 3b76f78
cockroach/pkg/sql/catalog/descs/kv_descriptors.go
Lines 199 to 201 in 3b76f78
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 354 to 356 in 3b76f78
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 373 to 375 in 3b76f78
cockroach/pkg/sql/catalog/descs/descriptor.go
Lines 343 to 345 in 3b76f78
cockroach/pkg/sql/catalog/descs/object.go
Lines 199 to 201 in 3b76f78
cockroach/pkg/sql/catalog/descs/object.go
Lines 66 to 68 in 3b76f78
cockroach/pkg/sql/catalog/descs/object.go
Lines 40 to 42 in 3b76f78
cockroach/pkg/sql/resolver.go
Lines 199 to 201 in 3b76f78
cockroach/pkg/sql/catalog/resolver/resolver.go
Lines 409 to 411 in 3b76f78
cockroach/pkg/sql/catalog/resolver/resolver.go
Lines 192 to 194 in 3b76f78
cockroach/pkg/sql/catalog/resolver/resolver.go
Lines 151 to 153 in 3b76f78
cockroach/pkg/sql/resolver.go
Lines 75 to 77 in 3b76f78
cockroach/pkg/sql/drop_table.go
Lines 163 to 165 in 3b76f78
cockroach/pkg/sql/drop_sequence.go
Lines 47 to 49 in 3b76f78
cockroach/pkg/sql/opaque.go
Lines 172 to 174 in 3b76f78
cockroach/pkg/sql/opaque.go
Lines 67 to 69 in 3b76f78
cockroach/pkg/sql/opt/optbuilder/opaque.go
Lines 68 to 70 in 3b76f78
cockroach/pkg/sql/opt/optbuilder/builder.go
Lines 376 to 378 in 3b76f78
cockroach/pkg/sql/opt/optbuilder/builder.go
Lines 240 to 242 in 3b76f78
cockroach/pkg/sql/opt/optbuilder/builder.go
Lines 214 to 216 in 3b76f78
cockroach/pkg/sql/plan_opt.go
Lines 552 to 554 in 3b76f78
cockroach/pkg/sql/plan_opt.go
Lines 225 to 227 in 3b76f78
cockroach/pkg/sql/conn_executor_exec.go
Lines 1432 to 1434 in 3b76f78
v22.1.12
Jira issue: CRDB-23228
The text was updated successfully, but these errors were encountered: