pingcap / pingcap/tiflash

TiFlash count result is not stable using the same read tso after drop table and recreate same table

Open
#2,024 1 comment 0 reactions 1 assignee View on GitHub

@lidezhu is already working on this.

Since Jun 22, 2021.

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

Description

After drop a table, there is a chance that tiflash's count result is not stable using some read tso. But tikv's result is stable as the following image shows.
image
The main test process is as follows:

  1. start a transaction in some thread.
  2. drop the target table and create a table with the same name in another thread.
  3. write data into the new table.
  4. check the count result of tikv and tiflash in the previous transaction and compare the results.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.