Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: dm同步报错context deadline exceeded
【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】dm2.0.7 version
【Encountered Problem】
【Reproduction Path】What operations were performed to encounter the problem
【Problem Phenomenon and Impact】dm synchronization task, one of the subtasks reported the following error:
【Attachment】
"result": true,
"msg": "",
"sources": [
{
"result": true,
"msg": "",
"sourceStatus": {
"source": "source_0",
"worker": "dm-127.0.0.1-123",
"result": {
"isCanceled": false,
"errors": [
{
"ErrCode": 50000,
"ErrClass": "not-set",
"ErrScope": "not-set",
"ErrLevel": "high",
"Message": "context deadline exceeded",
"RawCause": "",
"Workaround": ""
}
],
"detail": null
},
"relayStatus": null
},
"subTaskStatus": [
{
"name": "task_new",
"stage": "Running",
"unit": "Sync",
"result": null,
"unresolvedDDLLockID": "",
"sync": {
"totalEvents": "18477",
"totalTps": "1",
"recentTps": "0",
"masterBinlog": "(binlog.000002, 123123123)",
"masterBinlogGtid": "",
"syncerBinlog": "(binlog.000002, 123123123)",
"syncerBinlogGtid": "",
"blockingDDLs": [
],
"unresolvedGroups": [
],
"synced": false,
"binlogType": "remote",
"secondsBehindMaster": "0"
}
}
]
},
If the question is related to performance optimization or troubleshooting, please download the script and run it. Please select all and copy-paste the terminal output results for upload.