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

the number of conflict rows is different when duplicate-resolution = replace and duplicate-resolution = remove #51694

Closed
seiya-annie opened this issue Mar 12, 2024 · 1 comment
Assignees
Labels
affects-8.0 affects-8.1 This bug affects the 8.1.x(LTS) versions. component/lightning This issue is related to Lightning of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.

Comments

@seiya-annie
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. in 7.5.0, lightning import data with duplicate-resolution = remove, the conflict rows is 4540384
  2. in 8.0.0, lightning import same data with duplicate-resolution = replace, the conflict rows is 6810576
  3. select count(task_id) from lightning_task_info.conflict_error_v2 group by task_id limit 1;

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

the number of conflict row is same

3. What did you see instead (Required)

conflict row in different version is not same

4. What is your TiDB version? (Required)

[2024/03/12 02:12:58.290 +00:00] [INFO] [info.go:52] ["Welcome to TiDB-Lightning"] [release-version=v8.0.0-alpha] [git-hash=f2ae6987cafdc46c45ea8f1a03b4e4618b5943ef] [git-branch=heads/refs/tags/v8.0.0-alpha] [go-version=go1.21.6] [utc-build-time="2024-03-10 11:39:58"] [race-enabled=false]

@seiya-annie seiya-annie added type/bug The issue is confirmed as a bug. severity/major component/lightning This issue is related to Lightning of TiDB. labels Mar 12, 2024
@ti-chi-bot ti-chi-bot added the affects-8.1 This bug affects the 8.1.x(LTS) versions. label Apr 9, 2024
@seiya-annie
Copy link
Author

fixed in #52656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.0 affects-8.1 This bug affects the 8.1.x(LTS) versions. component/lightning This issue is related to Lightning of TiDB. may-affects-5.4 This bug maybe affects 5.4.x versions. may-affects-6.1 may-affects-6.5 may-affects-7.1 may-affects-7.5 severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

3 participants