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

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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants