cockroachdb / cockroachdb/cockroach

contention info not being resolved

Open
#116,569 0 comments 0 reactions 0 assignees View on GitHub
A-observability-inf C-bug T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

On the table `crdb_internal.transaction_contention_events` the values for `blocking_txn_fingerprint_id` and `waiting_txn_fingerprint_id` are not added on the first insert, but resolved later on.
This resolution should take minutes at most, but there are instances where has been over a day and the values are still set as `0s`.

We use a cache for this mapping resolution, so one possibility is that the cache is getting cleanup (because new data is coming in), before the resolution is done, meaning those values will never get resolved and the table will continue to show values as 0s. This is just one possible interpretation of the cause, it could be a completely different problem causing this behaviour.

Jira issue: CRDB-36911

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.