Open together-wang opened 3 years ago
don't know why schema tracker is stuck. could you provide a goroutine stack of DM worker?
归档.zip dm-worker and dm-master profile
[tidb@node127 dm]$ time tiup dmctl --master-addr 172.16.5.162:8561 start-task ./incr.yaml
Starting component `dmctl`: /home/tidb/.tiup/components/dmctl/v2.0.7/dmctl/dmctl --master-addr 172.16.5.162:8561 start-task ./incr.yaml
{
"result": true,
"msg": "",
"sources": [
{
"result": false,
"msg": "[code=38032:class=dm-master:scope=internal:level=high], Message: some error occurs in dm-worker: ErrCode:44012 ErrClass:\"schema-tracker\" ErrScope:\"internal\" ErrLevel:\"high\" Message:\"fail to initial unit Sync of subtask incr1 : failed to create schema tracker\" RawCause:\"context deadline exceeded\" , Workaround: Please execute `query-status` to check status.",
"source": "mysql-replica-01",
"worker": "dm-172.16.5.162-8262"
}
]
}
real 2m10.356s
user 0m0.185s
sys 0m0.082s
Could you please help grab a dm goroutine text using curl http://127.0.0.1:<worker-port>/debug/pprof/goroutine\?debug\=2
?
What did you do?
The incremental task gets stuck when it starts, and then fails over time., but it is normal to start full tasks. Configure incremental tasks and start tasks.
What did you expect to see?
Incremental task started successfully
What did you see instead?
Versions of the cluster
current status of DM cluster (execute
query-status
in dmctl)