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

Detect data inconsistency after switching table mode #5499

Closed
hongyunyan opened this issue Jul 29, 2022 · 1 comment · Fixed by #5506
Closed

Detect data inconsistency after switching table mode #5499

hongyunyan opened this issue Jul 29, 2022 · 1 comment · Fixed by #5506
Assignees

Comments

@hongyunyan
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

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

3. What did you see instead (Required)

case 情况与日志
https://github.com/pingcap/endless/blob/d8015156435e768921a3c1a2e48bcc2b59267dba/testcase/tiflash/consistency/consistency_test.go#L98

[2022/07/28 19:22:15.051 +08:00] [INFO] [consistency_test.go:515] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=fast]
[2022/07/28 19:22:15.206 +08:00] [INFO] [consistency_test.go:504] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=normal]
[2022/07/28 19:22:15.832 +08:00] [INFO] [verify.go:127] ["verify successfully"] [tikv="[100000000]"] [tiflash="[100000000]"]
[2022/07/28 19:22:25.833 +08:00] [INFO] [consistency_test.go:515] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=fast]
[2022/07/28 19:22:25.992 +08:00] [INFO] [consistency_test.go:504] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=normal]
[2022/07/28 19:22:26.633 +08:00] [INFO] [verify.go:127] ["verify successfully"] [tikv="[100000000]"] [tiflash="[100000000]"]
[2022/07/28 19:22:36.635 +08:00] [INFO] [consistency_test.go:515] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=fast]
[2022/07/28 19:22:36.788 +08:00] [INFO] [consistency_test.go:504] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=normal]
[2022/07/28 19:22:37.475 +08:00] [INFO] [verify.go:127] ["verify successfully"] [tikv="[100000000]"] [tiflash="[100000000]"]
[2022/07/28 19:22:47.475 +08:00] [INFO] [consistency_test.go:515] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=fast]
[2022/07/28 19:22:47.629 +08:00] [INFO] [consistency_test.go:504] ["convert tiflash mode"] ["db name"=test] ["table names"="[t]"] [mode=normal]
[2022/07/28 19:22:48.229 +08:00] [ERROR] [consistency_test.go:508] ["check consistence error"] ["db name"=test] [sql="select count(*) from t"] [error="result inconsistent tso 434898827405164654, tikv: [100000000], tiflash [100000750]"]

4. What is your TiFlash version? (Required)

v6.2

@lidezhu
Copy link
Contributor

lidezhu commented Jul 29, 2022

Seems the problem is caused by #5397

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.

6 participants