cockroachdb / cockroachdb/cockroach
kvserver: dump goroutines when raft scheduler stuck
Open
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
Assessment
This issue has not been assessed yet.