【 TiDB 使用环境】生产\测试环境\ POC
【 TiDB 版本】
tidb v5.4.0
dm 1.9.4
dmctl v6.0.0
【遇到的问题】
任务无法stop
【复现路径】开启任务,发现数据库在tidb内新建了,但是没有数据表新建,然后尝试stop-task
【问题现象及影响】
{
“result”: true,
“msg”: “”,
“sources”: [
{
“result”: true,
“msg”: “”,
“sourceStatus”: {
“source”: “rvs-test”,
“worker”: “dm-10.125.77.88-8262”,
“result”: null,
“relayStatus”: null
},
“subTaskStatus”: [
{
“name”: “rvs_test02”,
“stage”: “Running”,
“unit”: “Sync”,
“result”: null,
“unresolvedDDLLockID”: “”,
“sync”: {
“totalEvents”: “0”,
“totalTps”: “0”,
“recentTps”: “0”,
“masterBinlog”: “(mysql3306.012696, 58918334)”,
“masterBinlogGtid”: “0-3309239-2233452820”,
“syncerBinlog”: “(mysql3306.012696, 58913610)”,
“syncerBinlogGtid”: “”,
“blockingDDLs”: [
],
“unresolvedGroups”: [
],
“synced”: false,
“binlogType”: “remote”,
“secondsBehindMaster”: “0”,
“blockDDLOwner”: “”,
“conflictMsg”: “”
}
}
]
}
]
}
{
“op”: “Delete”,
“result”: false,
“msg”: “[code=38041:class=dm-master:scope=internal:level=medium], Message: invalid op 7 on task”,
“sources”: [
]
}
[tidb@t
若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。