[tidb@tidb-server4 ~/dm_prod/tasks]$dmctl --master-addr 10.3.57.4:8266 query-status acornhc_healthdata_task1
{
“result”: true,
“msg”: “”,
“sources”: [
{
“result”: true,
“msg”: “”,
“sourceStatus”: {
“source”: “pingtaiku”,
“worker”: “dm-10.3.57.54-8268”,
“result”: null,
“relayStatus”: null
},
“subTaskStatus”: [
{
“name”: “acornhc_healthdata_task1”,
“stage”: “Paused”,
“unit”: “Load”,
“result”: {
“isCanceled”: false,
“errors”: [
{
“ErrCode”: 10006,
“ErrClass”: “database”,
“ErrScope”: “downstream”,
“ErrLevel”: “high”,
“Message”: “file acornhc_healthdata.phr_test_medical_records.0000002660003.sql: execute statement failed: commit”,
“RawCause”: “Error 1062: Duplicate entry ‘2c94864b8e9892a7018f035b89d94c95’ for key ‘phr_test_medical_records.idx_medical_id’”,
“Workaround”: “”
}
],
“detail”: null
},
“unresolvedDDLLockID”: “”,
“load”: {
“finishedBytes”: “144789461945”,
“totalBytes”: “589632102257”,
“progress”: “24.56 %”,
“metaBinlog”: “(mysql-bin.004614, 59544788)”,
“metaBinlogGTID”: “”
}
}
]
}
]
}