类似的告警还有
401662:[2022/11/04 10:35:58.448 +08:00] [WARN] [checkpoint_flush_worker.go:112] ["sync flush post-process(afterFlushFn) failed"] [task=qieman_task] [unit="binlog replication"] [error="[code=28005:class=relay-event-lib:scope=internal:level=high], Message: there aren't any data under relay log directory relay-dir., Workaround: Please check relay log using query-status."] [errorVerbose="[code=28005:class=relay-event-lib:scope=internal:level=high], Message: there aren't any data under relay log directory relay-dir., Workaround: Please check relay log using query-status.\ngithub.com/pingcap/tiflow/dm/pkg/terror.(*Error).Generate\n\tgithub.com/pingcap/tiflow/dm/pkg/terror/terror.go:271\ngithub.com/pingcap/tiflow/dm/syncer.(*Syncer).updateActiveRelayLog\n\tgithub.com/pingcap/tiflow/dm/syncer/relay.go:116\ngithub.com/pingcap/tiflow/dm/syncer.(*Syncer).afterFlushCheckpoint\n\tgithub.com/pingcap/tiflow/dm/syncer/syncer.go:1260\ngithub.com/pingcap/tiflow/dm/syncer.(*checkpointFlushWorker).Run\n\tgithub.com/pingcap/tiflow/dm/syncer/checkpoint_flush_worker.go:111\ngithub.com/pingcap/tiflow/dm/syncer.(*Syncer).Run.func3\n\tgithub.com/pingcap/tiflow/dm/syncer/syncer.go:1655\nruntime.goexit\n\truntime/asm_amd64.s:1571"]
会导致任务处于paused状态,这种状态出现不规律,一般来说手动执行一下resume-task
就能解决。出现这个报错时候,task状态为: