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

lightning: confusing log of conflict error #42816

Open
sleepymole opened this issue Apr 4, 2023 · 0 comments
Open

lightning: confusing log of conflict error #42816

sleepymole opened this issue Apr 4, 2023 · 0 comments
Labels
affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.1 affects-6.5 affects-7.1 component/lightning This issue is related to Lightning of TiDB. severity/minor type/bug The issue is confirmed as a bug.

Comments

@sleepymole
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Enable duplicate detection and use lightning to import data with conflict errors.

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

Log is clear.

3. What did you see instead (Required)

Import Data Error Summary: 
+---+---------------------+-------------+------------------------------------- ~
| # | ERROR TYPE          | ERROR COUNT | ERROR DATA TABLE                     ~
+---+---------------------+-------------+------------------------------------- ~
| 1 | Unique Key Conflict |         830 | `lightning_task_info`.`conflict_erro ~
+---+---------------------+-------------+------------------------------------- ~

[2023/04/04 17:57:09.312 +08:00] [INFO] [import.go:1919] ["skip full compaction"]
[2023/04/04 17:57:09.312 +08:00] [INFO] [import.go:519] ["the whole procedure completed"] [takeTime=11.803972053s] []
[2023/04/04 17:57:09.312 +08:00] [WARN] [errormanager.go:491] ["Detect 830 data type errors in total, please refer to table `lightning_task_info`.`conflict_error_v1` for more details"]
[2023/04/04 17:57:09.325 +08:00] [INFO] [main.go:106] ["tidb lightning exit"] [finished=true]

Import Data Error Summary is truncated.

"Detect 830 data type errors in total" should be "Detect 830 data conflict errors in total".

4. What is your TiDB version? (Required)

master

@sleepymole sleepymole added type/bug The issue is confirmed as a bug. severity/minor component/lightning This issue is related to Lightning of TiDB. labels Apr 4, 2023
@ti-chi-bot ti-chi-bot added affects-5.4 This bug affects 5.4.x versions. affects-7.1 affects-5.3 This bug affects 5.3.x versions. affects-6.1 affects-6.5 labels Jun 21, 2023
@seiya-annie seiya-annie added type/enhancement The issue or PR belongs to an enhancement. and removed type/enhancement The issue or PR belongs to an enhancement. labels Jun 29, 2023
@ti-chi-bot ti-chi-bot added the affects-5.2 This bug affects 5.2.x versions. label Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.1 affects-6.5 affects-7.1 component/lightning This issue is related to Lightning of TiDB. severity/minor type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants