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

conflict.strategy cannot be used with tikv-importer.parallel-import and tikv-importer.backend = "local" and conflict.precheck-conflict-before-import = true #52001

Closed
seiya-annie opened this issue Mar 21, 2024 · 2 comments · Fixed by #52002
Labels
affects-8.0 component/lightning This issue is related to Lightning of TiDB. severity/major type/bug This issue is a bug.

Comments

@seiya-annie
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

parallel import data with two lightning
config is : [conflict]\nprecheck-conflict-before-import = true\nstrategy="replace"\n[tikv-importer]\nparallel-import = true

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

import successfully

3. What did you see instead (Required)

fail with

2024-03-21T21:22:11.310+0800    INFO    host/host.go:52 Execute command error   {"command": "/tidb-lightning \"-c\" \"/tmp/tidb-lightning.toml\"", "exit code": 1, "stdout": "Verbose debug logs will be written to /tmp/lightning.log.2024-03-21T13.22.11Z\n\n", "stderr": "tidb lightning encountered error: [Lightning:Config:ErrInvalidConfig]conflict.strategy cannot be used with tikv-importer.parallel-import and tikv-importer.backend = \"local\" and conflict.precheck-conflict-before-import = true\n", "error": "command terminated with exit code 1"}

4. What is your TiDB version? (Required)

master

@seiya-annie seiya-annie added type/bug This issue is a bug. component/lightning This issue is related to Lightning of TiDB. labels Mar 21, 2024
@lyzx2001
Copy link
Contributor

/label affects-8.0

@lyzx2001
Copy link
Contributor

/severity moderate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.0 component/lightning This issue is related to Lightning of TiDB. severity/major type/bug This issue is a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants