changfeed未接收到TiCDC 的请求

[2022/03/23 15:31:22.779 +08:00] [WARN] [owner.go:1739] ["changefeed checkpoint is lagging too much, so it will be stopped."] [changefeed=kafka-canal-json2] [error="[CDC:ErrSnapshotLostByGC]fail to create or maintain changefeed due to snapshot loss caused by GC. checkpoint-ts 432017789629759499 is earlier than GC safepoint at 432017789629759499"] [errorVerbose="[CDC:ErrSnapshotLostByGC]fail to create or maintain changefeed due to snapshot loss caused by GC. checkpoint-ts 432017789629759499 is earlier than GC safepoint at 432017789629759499\
github.com/pingcap/errors.AddStack\
\tgithub.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/errors.go:174\
github.com/pingcap/errors.(*Error).GenWithStackByArgs\
\tgithub.com/pingcap/errors@v0.11.5-0.20201126102027-b0a155152ca3/normalize.go:156\
github.com/pingcap/ticdc/cdc.(*Owner).handleStaleChangeFeed\
\tgithub.com/pingcap/ticdc@/cdc/owner.go:1738\
github.com/pingcap/ticdc/cdc.(*Owner).flushChangeFeedInfos\
\tgithub.com/pingcap/ticdc@/cdc/owner.go:826\
github.com/pingcap/ticdc/cdc.(*Owner).run\
\tgithub.com/pingcap/ticdc@/cdc/owner.go:1445\
github.com/pingcap/ticdc/cdc.(*Owner).Run\
\tgithub.com/pingcap/ticdc@/cdc/owner.go:1308\
github.com/pingcap/ticdc/cdc.(*Server).campaignOwnerLoop\
\tgithub.com/pingcap/ticdc@/cdc/server.go:233\
github.com/pingcap/ticdc/cdc.(*Server).run.func3\
\tgithub.com/pingcap/ticdc@/cdc/server.go:334\
golang.org/x/sync/errgroup.(*Group).Go.func1\
\tgolang.org/x/sync@v0.0.0-20201020160332-67f06af15bc9/errgroup/errgroup.go:57\
runtime.goexit\
\truntime/asm_amd64.s:1357"]

参考一下这个文档,调整一下 start checkpoint ts 设置 ticdc报错 : CDC:ErrSnapshotLostByGC

你提供的日志没有 TiCDC 启动的 log ,一般拉起 TiCDC 服务时候,会有加载启动 TiCDC 的相关日志,里面会包含着 TiCDC 启动的默认参数和参数配置,可以再帮忙找找,可以发一下启动日志出来,一起看一下。

1 个赞