cockroachdb / cockroachdb/cockroach

Provide better observability for follower reads

Open
#95,375 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

This tracks providing better observability for statements and transactions that are using follower reads. More specifically, CockroachDB should provide a way for users to understand the distribution of backdated values/timestamps. This observability will help with troubleshooting scenarios such as contention and understanding potential causes of outliers. We should consider touchpoints such as Insights and SQL Activity pages.

Related issue(s):

- https://github.com/cockroachdb/cockroach/issues/94751
- https://github.com/cockroachdb/cockroach/issues/63983

Jira issue: CRDB-23490

Contributor guide

Open the contributing guide

Research direction

Read related issues 94751 and 63983 first, then examine the Insights and SQL Activity pages named in this issue. Define how statements and transactions using follower reads should expose the distribution of backdated values or timestamps, with completion shown by usable observability for troubleshooting contention and outliers.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, sql
Domain
databases, distributed-systems, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.