在我更新上游数据库表结构之后,DM突然不自动同步了,查看日志,好像是我修改某个字段自增的问题,该怎么解决呢,附日志信息:
{
"result": true,
"msg": "",
"sources": [
{
"result": true,
"msg": "",
"sourceStatus": {
"source": "mysql-replica-01",
"worker": "dm-10.5.63.101-8262",
"result": null,
"relayStatus": null
},
"subTaskStatus": [
{
"name": "test",
"stage": "Paused",
"unit": "Sync",
"result": {
"isCanceled": false,
"errors": [
{
"ErrCode": 44006,
"ErrClass": "schema-tracker",
"ErrScope": "internal",
"ErrLevel": "high",
"Message": "startLocation: [position: (binlog.000074, 9806), gtid-set: ], endLocation: [position: (binlog.000074, 9974), gtid-set: ], origin SQL: [ALTER TABLE `dm_test` CHANGE `id` `id` INT\
NOT NULL\
AUTO_INCREMENT]: cannot track DDL: ALTER TABLE `TPCD2G`.`dm_test` CHANGE COLUMN `id` `id` INT NOT NULL AUTO_INCREMENT",
"RawCause": "[ddl:8200]Unsupported modify column: can't set auto_increment",
"Workaround": ""
}
],
"detail": null
},
"unresolvedDDLLockID": "",
"sync": {
"totalEvents": "0",
"totalTps": "0",
"recentTps": "0",
"masterBinlog": "(binlog.000074, 14192)",
"masterBinlogGtid": "",
"syncerBinlog": "(binlog.000074, 9729)",
"syncerBinlogGtid": "",
"blockingDDLs": [
],
"unresolvedGroups": [
],
"synced": false,
"binlogType": "remote",
"secondsBehindMaster": "0"
}
}
]
}
]
}
