cockroachdb / cockroachdb/cockroach

kvserver: dump goroutines when raft scheduler stuck

Open
#161,239 0 comments 0 reactions 0 assignees View on GitHub
A-kv-server C-enhancement T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Capture a goroutine profile when the raft scheduler stops doing work (despite presence of a raft queue). We can also simply do this in case the raft queue is at high cardinality (not necessarily high byte size, since that can happen due to overload).

See https://github.com/cockroachdb/cockroach/issues/159139

This is easier now because of https://github.com/cockroachdb/cockroach/issues/159342

Jira issue: CRDB-58760

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.