开发者社区> 问答> 正文

1.1.0生产环境4个destination点位信息有2个没有写zk2个不更新

从zk上看01和04destinaton没有cursor目录 02和03有cursor目录但是不更新,重启了2次都是如此,我部署另外一个canal server实例的时候,没有报 TableIdNotFoundException,点位信息全部正常

启动的时候canal.canal.log有报错信息: 2018-09-13 23:46:59.156 [destination = ordercanalprd02 , address = /:3321 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /:3321 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110

2018-09-13 23:46:59.109 [destination = ordercanalprd01 , address = /:3320 , EventParser] WARN c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - prepare to find start position ::1536827400000 2018-09-13 23:46:59.151 [destination = ordercanalprd03 , address = /:3322 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /:3322 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118* 2018-09-13 23:46:59.156 [destination = ordercanalprd02 , address = /:3321 , EventParser] ERROR c.a.o.c.p.inbound.mysql.rds.RdsBinlogEventParserProxy - dump address /:3321 has an error, retrying. caused by com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 2018-09-13 23:46:59.203 [destination = ordercanalprd03 , address = /---:3322 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:ordercanalprd03[com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:118 ] 2018-09-13 23:46:59.204 [destination = ordercanalprd02 , address = /---:3321 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:ordercanalprd02[com.alibaba.otter.canal.parse.exception.CanalParseException: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 Caused by: com.alibaba.otter.canal.parse.exception.TableIdNotFoundException: not found tableId:110 ]

原提问者GitHub用户yin007008

展开
收起
Java工程师 2023-05-08 19:12:37 69 0
1 条回答
写回答
取消 提交回答
  • 我自查了一遍,估计这个错误是发生在 canal.destinations= 这个配置直接给空了 我把这个地方配上,然后slaveid按实例自增部署了其他28个destination都没有发生问题

    我猜应该是启动过程中扫描destination和其他代码的先后顺序引发的问题

    原回答者GitHub用户yin007008

    2023-05-09 19:07:19
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载