Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count result may be wrong after a lot of insert and delete #4956

Closed
lidezhu opened this issue May 22, 2022 · 2 comments · Fixed by #4955
Closed

Count result may be wrong after a lot of insert and delete #4956

lidezhu opened this issue May 22, 2022 · 2 comments · Fixed by #4955
Assignees
Labels
affects-4.0 affects-5.0 affects-5.1 affects-5.2 affects-5.3 affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.0 affects-6.1 This bug affects the 6.1.x(LTS) versions. component/storage severity/critical type/bug The issue is confirmed as a bug.

Comments

@lidezhu
Copy link
Contributor

lidezhu commented May 22, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Repeated do a lot of insert rows and delete alls.
Keep select count after after every operation.

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

Count result is right.

3. What did you see instead (Required)

Count result is wrong. The number of rows in TiFlash is larger than that in TiKV

4. What is your TiFlash version? (Required)

@JaySon-Huang
Copy link
Contributor

JaySon-Huang commented May 22, 2022

/cc @lilinghai We need to add a test case for this kind of workload

@lilinghai
Copy link

/cc @lilinghai We need to add a test case for this kind of workload

ok. have discussed it with dezhu and I will add a test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.0 affects-5.0 affects-5.1 affects-5.2 affects-5.3 affects-5.4 This bug affects the 5.4.x(LTS) versions. affects-6.0 affects-6.1 This bug affects the 6.1.x(LTS) versions. component/storage severity/critical type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants