cockroachdb / cockroachdb/cockroach

mma: overload dur metrics succes + failure != total

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

Description

The overloaded long duration success and failure metrics do not sum to the total count of overloaded stores. This is because ranges for which this store does not hold the leaseholder replica are skipped entirely and not counted toward either metric. In addition, if all ranges are skipped (then neither a success nor a failure), this does not count towards either metric.

Epic: CRDB-56265

Contributor guide

Open the contributing guide

Research direction

Start by searching the Go code for the overloaded long-duration success, failure, and total metrics, then trace how ranges are counted when this store lacks the leaseholder replica. Done means skipped ranges, including the all-skipped case, are represented so success plus failure matches the overloaded-store total.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
databases, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.