tidb-lightning import wrong data if user doesn't has right permission #31088
Labels
affects-5.2
This bug affects 5.2.x versions.
affects-5.3
This bug affects 5.3.x versions.
component/lightning
This issue is related to Lightning of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Use tidb-lightning to import data into a v5.3.0 cluster with (new_collations_enabled_on_first_bootstrap=true). The user in tidb-lightning's config doesn't has permission to access to table
mysql.tidb
2. What did you expect to see? (Required)
The import should either return an error or import success.
3. What did you see instead (Required)
TiDB-Lightning return success but data in target db is not consistent.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: