pingcap / pingcap/tiflash

TiFlash replicate progress sometimes become 0.99 when create/remove/merge peer frequently.

Open
#6,506 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

component/storage type/enhancement
Dominant language
C++
Stars
1k
Forks
423
Avg merge
1d 15h
Merged PRs (30d)
24

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Run sysbench in big cluster with 4 billion rows data.

2. What did you expect to see? (Required)

TiFlash replicate progress always 1.

3. What did you see instead (Required)

TiFlash replicate progress sometimes become 0.99.

4. What is your TiFlash version? (Required)

v6.5

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 reproducing the issue with sysbench on a big cluster containing 4 billion rows, using TiFlash v6.5. Exercise frequent create, remove, and merge peer operations while observing replication progress. Done means the progress remains at 1 instead of intermittently reaching 0.99.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, distributed-systems
Issue type
Bug
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.