TIDB 3.0.12 + DM 1.0.4
» query-status { “result”: true, “msg”: “”, “tasks”: [ { “taskName”: “single7”, “taskStatus”: “Running”, “workers”: [ “177.90.0.XXX:8262”, “177.90.0.XX:8263”, “177.90.0.XXX:8262”, “177.30.0.XXX:8263” ] } ] }
同步状态正常,但总是有告警, 这是啥原因啊
信息: DM sync process exists with error 详情: cluster: h3cloud-cluster, instance: 177.90.0.xxx:8262, task: single7, values: 1 当前值: 1 时间: 2020-06-01 18:16:50
[2020/06/01 21:20:34.154 +08:00] [WARN] [reader.go:137] [“parse relay finished”] [task=single7] [unit=“binlog replication”] [component=“binlog reader”] [error=“parse relay log file 3303-binlog.000010 from offset 48779439 in dir /data/dm/deploy/worker3/relay_log/93a95628-763c-11ea-a323-00163e127796.000001: parse relay log file 3303-binlog.000010 from offset 0 in dir /data/dm/deploy/worker3/relay_log/93a95628-763c-11ea-a323-00163e127796.000001: context canceled”] [2020/06/01 21:20:34.154 +08:00] [INFO] [reader.go:413] [“binlog reader closed”] [task=single7] [unit=“binlog replication”] [component=“binlog reader”] [2020/06/01 21:20:34.154 +08:00] [INFO] [subtask.go:236] [“unit process returned”] [subtask=single7] [unit=Sync] [stage=Paused] [status="{“masterBinlog”:"(3303-binlog.000010, 48780802)",“syncerBinlog”:"(3303-binlog.000010, 48779439)"}"] [2020/06/01 21:20:34.154 +08:00] [ERROR] [subtask.go:255] [“unit process error”] [subtask=single7] [unit=Sync] [“error information”="{“msg”:"[code=36057:class=sync-unit:scope=internal:level=high] reopen *syncer.localBinlogReader not supported\ngithub.com/pingcap/dm/pkg/terror.(*Error).Generate\ \t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/pkg/terror/terror.go:232\ngithub.com/pingcap/dm/syncer.(*Syncer).reopen\ \t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:2171\ngithub.com/pingcap/dm/syncer.(*Syncer).reopenWithRetry\ \t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:2148\ngithub.com/pingcap/dm/syncer.(*Syncer).Run\ \t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:1246\ngithub.com/pingcap/dm/syncer.(*Syncer).Process\ \t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:599\ngithub.com/pingcap/dm/syncer.(*Syncer).Resume\ \t/home/jenkins/agent/workspace/build_dm_master/go/src/github.com/pingcap/dm/syncer/syncer.go:2320\ runtime.goexit\ \t/usr/local/go/src/runtime/asm_amd64.s:1357",“error”:{“ErrCode”:36057,“ErrClass”:11,“ErrScope”:3,“ErrLevel”:3,“Message”:“reopen *syncer.localBinlogReader not supported”}}"] [2020/06/01 21:20:37.765 +08:00] [INFO] [worker.go:314] [“operate subtask”] [component=“worker controller”] [operation=AutoResume] [task=single7] [2020/06/01 21:20:37.766 +08:00] [INFO] [task_checker.go:365] [“dispatch auto resume task”] [component=“task checker”] [task=single7] [opLogID=738] [2020/06/01 21:20:38.765 +08:00] [INFO] [worker.go:793] [“start to execute operation”] [component=“worker controller”] [oplog="{“id”:738,“task”:{“op”:6,“name”:“single7”},“ts”:1591017637765937847}"]