cockroachdb / cockroachdb/cockroach
crdb_internal.transaction_contention_events fix db, schema, and table names
Open
A-cluster-observability
C-bug
T-observability
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
This is a follow up to https://github.com/cockroachdb/cockroach/issues/101726. The previous issue just avoids the virtual table failing to generate. Additional logic is needed to handle all scenarios.
The logic used to get the names needs to be modified to get the correct descriptor. This will fix the issue of the db not being found. It also needs logic to correctly handle non-sql key descriptors.
related thread: https://cockroachlabs.slack.com/archives/C0KB9Q03D/p1681842331017299
Jira issue: CRDB-27144
Contributor guide
Assessment
This issue has not been assessed yet.