【 TiDB 使用环境`】测试环境
【 TiDB 版本】5.4.0
【遇到的问题】
【复现路径】做过哪些操作出现的问题
【问题现象及影响】
dm stop-task 报错 invalid op Stop on task
[root@localhost opt]# tiup dmctl --master-addr=192.168.242.130:8361 query-status
tiup is checking updates for component dmctl …
Starting component dmctl
: /root/.tiup/components/dmctl/v5.4.0/dmctl/dmctl /root/.tiup/components/dmctl/v5.4.0/dmctl/dmctl --master-addr=192.168.242.130:8361 query-status
{
“result”: true,
“msg”: “”,
“tasks”: [
{
“taskName”: “dm-task”,
“taskStatus”: “Paused”,
“sources”: [
“mysql-replica-02”
]
},
{
“taskName”: “dm-task-ruoyi”,
“taskStatus”: “Error - Some error occurred in subtask. Please run query-status dm-task-ruoyi
to get more details.”,
“sources”: [
“mysql-replica-03”
]
}
]
}
[root@localhost opt]# tiup dmctl --master-addr=192.168.242.130:8361 stop-task dm-task
tiup is checking updates for component dmctl …
Starting component dmctl
: /root/.tiup/components/dmctl/v5.4.0/dmctl/dmctl /root/.tiup/components/dmctl/v5.4.0/dmctl/dmctl --master-addr=192.168.242.130:8361 stop-task dm-task
{
“op”: “Stop”,
“result”: false,
“msg”: “[code=38041:class=dm-master:scope=internal:level=medium], Message: invalid op Stop on task”,
“sources”: [
]
}【附件】