-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
admin recover index miss some rows #32915
Comments
The root cause is here. For intHandle it should be |
250 is fine, since we compare data by its prefix.
According to "unique-key is duplicate and the handle is equal, skip it.", the scan row is skipped. We don't count for that. |
I don't think so. Line 385 in 9c64224
whether skip or not, it will be recorded. you can try add another record and the SCAN_COUNT will be 1. (which should be 2) |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
SCAN_COUNT should be 1.
3. What did you see instead (Required)
### 4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: