DM lost TRUNCATE TABLE for sync mysql to tidb
Open
duplicate
type/new-feature
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
When synchronizing mysql to tidb using DM 8.1, I noticed that the "truncate table" statements executed in mysql were not executed in tidb.
When I execute the "truncte table xx" statement in upstream mysql, the data in tidb still exists, which causes me to get a Duplicate entry '1' for xx exception when I insert data into the table later
Contributor guide
Assessment
This issue has not been assessed yet.