Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dm同步问题主键重复code=26005
Error when starting the task, hoping to skip primary key validation.
Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dm同步问题主键重复code=26005
Error when starting the task, hoping to skip primary key validation.
For any migration mode, the pre-check will include the following general check items:
You can set the ignore check items parameter to skip table structure validation:
ignore-checking-items: ["table_schema"]
In general, pre-check items are used to identify potential risks in the environment in advance, and it is not recommended to ignore them.
Reference: TiDB Data Migration 任务前置检查 | PingCAP 文档中心
I tried your solution, but it didn’t work. I’m not sure if I placed it incorrectly. I used a script to create it, so I’ll try creating it manually.
But it didn’t work. I don’t know if I placed it incorrectly.
Here is a prompt. Follow “hey-hoho’s” advice to check the configuration and see if it triggered DM’s limitations.
Thank you for the response. Actually, we are not compatible. Some leaders previously arranged a wave of MySQL upgrades, so there are always writing issues, which is very frustrating.
It works now. Recreating the task confirmed that it was indeed an issue with the DM mechanism.
This topic will be automatically closed 60 days after the last reply. No new replies are allowed.