TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/
Downgrading the severity because it will take many efforts to solve this problem entirely and without any behavior regression, and this issue also has other workarounds.
Bug Report
Ignore primary key failed in the clustered table
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)
master