为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】
tidb version: v5.2.2
dm v1.8.0
【概述】 场景 + 问题概述
dm 同步作业出错,使用跳过命令无效
【备份和数据迁移策略逻辑】
过滤 目标库下指定的表
【错误信息】 同步时错误信息
“errors”: [
{
“ErrCode”: 10006,
“ErrClass”: “database”,
“ErrScope”: “downstream”,
“ErrLevel”: “high”,
“Message”: “file mall.mall_order_info.0000000000003.sql: execute statement failed: commit”,
“RawCause”: “Error 1062: Duplicate entry ‘1744265’ for key ‘PRIMARY’”,
“Workaround”: “”
},
{
“ErrCode”: 10006,
“ErrClass”: “database”,
“ErrScope”: “downstream”,
“ErrLevel”: “high”,
“Message”: “file mall.mall_order_info.0000000000002.sql: execute statement failed: commit”,
“RawCause”: “Error 1062: Duplicate entry ‘1673282’ for key ‘PRIMARY’”,
“Workaround”: “”
},
{
“ErrCode”: 10006,
“ErrClass”: “database”,
“ErrScope”: “downstream”,
“ErrLevel”: “high”,
“Message”: “file mall.mall_order_info.0000000020000.sql: execute statement failed: commit”,
“RawCause”: “Error 1062: Duplicate entry ‘2055590’ for key ‘PRIMARY’”,
“Workaround”: “”
}
],
【现象】 业务和数据库现象
同步无法进行
【问题】 当前遇到的问题
【业务影响】
实时查询业务不能进行
【TiDB 版本】
【附件】
dm_error.log (3.1 KB)
针对 unit 为 Load 出错时 skip 无效,有文档或者具体的解决方法么