pingcap / pingcap/tiflash

How to observe the delay of data synchronization between TiFlash and tikv

Open
#10,444 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contribution first-time-contributor type/question
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

I would like to know how I can check the data latency between the current TiFlash nodes and TiKV nodes. For example, how many seconds they differ by, or the difference in Raft Log Index. Do we currently have such metrics? Thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing TiFlash and TiKV observability documentation and metric definitions for synchronization latency and Raft Log Index. Determine whether these metrics already exist, then document how to compare them; if they do not, record the missing measurements and their intended meaning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems, observability
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.