切换到 V5.3.0 dmctl之后,stop-task成功了
tiup dmctl --master-addr x.x.x.x:8261 stop-task task-xxxxx
Starting component `dmctl`: /root/.tiup/components/dmctl/v6.1.0/dmctl/dmctl --master-addr x.x.x.x:8261 stop-task task-xxxxx
{
"op": "Delete",
"result": false,
"msg": "[code=38041:class=dm-master:scope=internal:level=medium], Message: invalid op 7 on task",
"sources": [
]
}
# 此时切换至 /root/.tiup/components/dmctl/v5.3.0/dmctl
./dmctl --master-addr x.x.x.x:8261 stop-task task-xxxxx
{
"op": "Stop",
"result": true,
"msg": "",
"sources": [
{
"result": true,
"msg": "",