Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: DM在出错暂停任务怎么修改参数
|
username: TiDBer_hwEZA4rV
Encountered the following error during synchronization:
"subTaskStatus": [
{
"name": "test",
"stage": "Paused",
"unit": "Sync",
"result": {
"isCanceled": false,
"errors": [
{
"ErrCode": 10006,
"ErrClass": "database",
"ErrScope": "not-set",
"ErrLevel": "high",
"Message": "startLocation: [position: (mysql-bin.074231, 450418411), gtid-set: ], endLocation: [position: (mysql-bin.074231, 450418501), gtid-set: ]: execute statement failed: INSERT INTO `xxx`.``xxx` (``xxx`,``xxx`,``xxx`,`created_by`,`gmt_create`,`gmt_modify`) VALUES (?,?,?,?,?,?)",
"RawCause": "Error 1062: Duplicate entry '`xxx-41526' for key 'uk_user_role'",
"Workaround": ""
}
]
}
}
]
I want to resolve the conflict by modifying the syncs’ safe-mode in the task, allowing for some performance loss, but I couldn’t find a way to modify the task configuration parameters or even delete the task…