pingcap / pingcap/tiflash

Ability to check the consistency of all fields between TiFlash and TiKV

Open
#3,258 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type/feature-request
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Currently, we can only compare the row count between TiFlash and TiKV, which is far from enough. Consider extending the capability of ADMIN CHECK TABLE or ADMIN CHECKSUM TABLE.

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 tracing the existing row-count comparison behind ADMIN CHECK TABLE and ADMIN CHECKSUM TABLE, then inspect how TiFlash and TiKV expose field values for comparison. Define the consistency scope and validation behavior before implementing; done means the selected command can detect mismatched field contents, not only row counts, with coverage for the relevant cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.