-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql/catalog: v22.2.9: referenced descriptor ID 105: descriptor not found #105257
Comments
cc @cockroachdb/cdc |
This is odd... looks like it tried to resolve a schema does not exists. The namespace record exists but the descriptor was not found. |
Could it happen if a schema was dropped concurrently with altering the function? For now, since we don't have enough information to reproduce it, we'll backlog this. |
closing due to staleness |
I'm having a similar error when interacting with my db:
And I can't even drop it (same error). |
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/4264555061/?referrer=webhooks_plugin
Panic Message:
Stacktrace (expand for inline code snippets):
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/distsql_running.go#757L756-L758
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colflow/vectorized_flow.go#320L319-L321
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colflow/flow_coordinator.go#291L290-L292
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colflow/flow_coordinator.go#246L245-L247
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colexecerror/error.go#92L91-L93
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colflow/flow_coordinator.go#247L246-L248
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colflow/stats.go#101L100-L102
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colexecerror/error.go#92L91-L93
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colflow/stats.go#92L91-L93
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/colexec/columnarizer.go#187L186-L188
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/plan_node_to_row_source.go#166L165-L167
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/plan.go#521L520-L522
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/walk.go#43L42-L44
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/walk.go#79L78-L80
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/walk.go#297L296-L298
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/walk.go#112L111-L113
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/plan.go#518L517-L519
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/alter_function.go#199L198-L200
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/alter_function.go#383L382-L384
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/drop_function.go#109L108-L110
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/schema_resolver.go#402L401-L403
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/schema_resolver.go#132L131-L133
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/descs/schema.go#61L60-L62
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/descs/schema.go#73L72-L74
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/descs/descriptor.go#336L335-L337
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/descs/descriptor.go#88L87-L89
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/descs/descriptor.go#191L190-L192
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/internal/catkv/stored_catalog.go#308L307-L309
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/internal/catkv/catalog_reader.go#224L223-L225
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/internal/catkv/catalog_query.go#73L72-L74
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/internal/catkv/catalog_query.go#111L110-L112
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/internal/catkv/catalog_query.go#128L127-L129
GOROOT/src/runtime/asm_amd64.s#1594L1593-L1595
GOROOT/src/runtime/proc.go#233L232-L234
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6325L6324-L6326
GOROOT/src/runtime/proc.go#6348L6347-L6349
https://github.com/cockroachdb/cockroach/blob/1b11ca676513ae073ea696c7cc3123d2684bc4bd/pkg/sql/catalog/errors.go#83L82-L84
Tags
Jira issue: CRDB-28944
The text was updated successfully, but these errors were encountered: