【TiDB 使用环境】生产环境 /测试/ Poc
【TiKV 版本】7.6.0
【操作系统】
【部署方式】云上部署(什么云)/机器部署(什么机器配置、什么硬盘)
【集群数据量】
【集群节点数】3
【问题复现路径】
我在使用tikv的cdc接口,调试若干次之后发现有些region订阅后不能接受到resolvedTS事件。
并且有的tikv实例在打印日志(并不是全部)。
【遇到的问题:问题现象及影响】cdc下游无法接收到任何事件
【复制黏贴 ERROR 报错的日志】
[2025/05/14 02:16:33.291 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:34.293 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:35.295 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:36.297 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:37.299 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:38.301 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:39.303 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:40.305 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:41.307 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:42.309 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:43.311 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:44.313 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:45.315 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:46.317 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:47.319 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:48.321 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:49.323 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:50.325 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:51.327 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:52.329 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:53.331 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
[2025/05/14 02:16:54.333 +00:00] [INFO] [endpoint.rs:1038] ["cdc send event failed, full"] [downstream="\"ipv4:10.222.55.32:50610\""] [conn_id=ConnId(2)] [thread_id=0x5]
订阅的日志
[2025/05/13 10:33:42.934 +00:00] [INFO] [service.rs:431] ["cdc connection created"] [features="[\"stream-multiplexing\"]"] [downstream=ipv4:10.222.36.248:52024] [thread_id=0x5]
[2025/05/13 10:33:42.934 +00:00] [INFO] [endpoint.rs:790] ["cdc register region"] [downstream_id=DownstreamId(110)] [observe_id=ObserveId(606)] [req_id=2] [conn_id=ConnId(58)] [region_id=45] [thread_id=0x5]
没能看到 cdc downstream starts to initialize
日志