-
Notifications
You must be signed in to change notification settings - Fork 4.1k
tenants: internal error when selecting from crdb_internal.node_runtime_info #55701
Copy link
Copy link
Closed
Closed
Copy link
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Description
Repro Steps:
- Create a tenant cluster.
- Run the following SQL in the tenant cluster:
SELECT * FROM crdb_internal.node_runtime_info
EXPECTED: Empty results?
ACTUAL: Internal error
ERROR: internal error: column node_runtime_info.node_id not nullable, but found NULL value
SQLSTATE: XX000
DETAIL: stack trace:
/go/src/github.com/cockroachdb/cockroach/pkg/sql/virtual_schema.go:427: validateRow()
/go/src/github.com/cockroachdb/cockroach/pkg/sql/virtual_schema.go:493: 1()
/go/src/github.com/cockroachdb/cockroach/pkg/sql/crdb_internal.go:210: func45()
/go/src/github.com/cockroachdb/cockroach/pkg/sql/virtual_schema.go:492: 1()
/go/src/github.com/cockroachdb/cockroach/pkg/sql/virtual_table.go:115: func2()
/usr/local/go/src/runtime/asm_amd64.s:1357: goexit()
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.