pingcap / tidb

TiDB - the open-source, cloud-native, distributed SQL database designed for modern applications.
https://pingcap.com
Apache License 2.0
37.34k stars 5.85k forks source link

Should not use `INSERT IGNORE INTO` in lightning tables #57578

Closed joechenrh closed 1 day ago

joechenrh commented 1 day ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

https://github.com/pingcap/tidb/pull/55477 changes INSERT INTO to `INSERT IGNORE INTO, which may case data correctness.

1. Minimal reproduce step (Required)

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

3. What did you see instead (Required)

4. What is your TiDB version? (Required)

joechenrh commented 1 day ago

/severity moderate