cockroachdb / cockroachdb/cockroach

kvserver: add metric for unstable raft log

Open
#101,529 1 comment 0 reactions 1 assignee Claimed by @pav-kv View on GitHub
C-enhancement T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Is your feature request related to a problem? Please describe.**

The unstable raft log pins memory that is not tracked anywhere.

We should surface this.

**Describe the solution you'd like**

**Describe alternatives you've considered**

**Additional context**

This was done, in a hacky way, [here](https://github.com/cockroachdb/cockroach/pull/98576/files#diff-6be678e167bfa77014c7061ea7742f3528047fa1d90b892995443a8265300092R776) during an experiment.

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.