-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Lightning ResolveDuplicateRows casue checksum mismatch #40657
Copy link
Copy link
Closed
Labels
affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.component/lightningThis issue is related to Lightning of TiDB.This issue is related to Lightning of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Metadata
Metadata
Assignees
Labels
affects-5.4This bug affects the 5.4.x(LTS) versions.This bug affects the 5.4.x(LTS) versions.affects-6.1This bug affects the 6.1.x(LTS) versions.This bug affects the 6.1.x(LTS) versions.affects-6.5This bug affects the 6.5.x(LTS) versions.This bug affects the 6.5.x(LTS) versions.component/lightningThis issue is related to Lightning of TiDB.This issue is related to Lightning of TiDB.severity/majortype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Table schema:
Enable
duplicate-resolutionUse tidb-lightning to import data twice.
For the first time, import data with unique key conflicts.
Conflict errors are detected as expected.
For the second time, truncate the table and import data with no unique key conflicts.
No conflict error is detected. But checksum mismatch is reported.
2. What did you expect to see? (Required)
After the table is truncated, import should complete without any error.
3. What did you see instead (Required)
checksum mismatch error is reported.
4. What is your TiDB version? (Required)
master