cockroachdb / cockroachdb/cockroach

kvserver: remove locality stats tracking (after removing follow-the-workload)

Open
#153,867 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

See: https://github.com/cockroachdb/cockroach/issues/96051#issuecomment-1406051183

I believe this is about this code and the counterpart that maintains it:

https://github.com/cockroachdb/cockroach/blob/9b01bf06d19518ddb54c7514e83a3f769fd1cbeb/pkg/kv/kvserver/load/replica_load.go#L206-L213

and in particular the locality counts that are tracked in each of our (many) replica load stats:

https://github.com/cockroachdb/cockroach/blob/9b01bf06d19518ddb54c7514e83a3f769fd1cbeb/pkg/kv/kvserver/replicastats/replica_stats.go#L84-L85

Epic: [54644](https://cockroachlabs.atlassian.net/browse/CRDB-54644)

Jira issue: CRDB-54645

Epic CRDB-54644

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.