cockroachdb / cockroachdb/cockroach

kvserver: better observability into slow latches

Open
#93,982 2 comments 0 reactions 0 assignees View on GitHub
C-enhancement C-escalation-improvement O-support P-3 T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

In https://github.com/cockroachlabs/support/issues/1952 we were looking at a number of traces that showed a request spending multiple seconds waiting for a latch.

It would be helpful to learn which overlapping latch was the slowest to release and, if possible, the batch holding it. In cases where the slowdown is workload-related (and not, e.g. network or disk slowness), this might provide valuable clues that allow the customer/TSE to self-diagnose without requiring expert assistance.

Jira issue: CRDB-22636

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.