开发者社区> 问答> 正文

mysql 5.7.3-m13-log向mysql 5.7.11-log同步Read Q_FLAGS

注:源库与目标库均为新建立的schema. pid:1 nid:2 exception:canal:192.168.1.118:java.io.IOException: Read Q_FLAGS2_CODE error: limit excceed: 76 at com.taobao.tddl.dbsync.binlog.event.QueryLogEvent.unpackVariables(QueryLogEvent.java:717) at com.taobao.tddl.dbsync.binlog.event.QueryLogEvent.(QueryLogEvent.java:495) at com.taobao.tddl.dbsync.binlog.LogDecoder.decode(LogDecoder.java:168) at com.taobao.tddl.dbsync.binlog.LogDecoder.decode(LogDecoder.java:111) at com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.dump(MysqlConnection.java:162) at com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:271) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: limit excceed: 76 at com.taobao.tddl.dbsync.binlog.LogBuffer.getUint32(LogBuffer.java:562) at com.taobao.tddl.dbsync.binlog.event.QueryLogEvent.unpackVariables(QueryLogEvent.java:612) ... 6 more

原提问者GitHub用户dreamofkevin

展开
收起
古拉古拉 2023-06-14 21:10:22 37 0
1 条回答
写回答
取消 提交回答
  • 对应的otter和canal是什么版本?应该是binlog协议格式解析失败,先升级到最新版本看看

    原回答者GitHub用户agapple

    2023-06-14 22:09:54
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
PostgresChina2018_赖思超_PostgreSQL10_hash索引的WAL日志修改版final 立即下载
Kubernetes下日志实时采集、存储与计算实践 立即下载
日志数据采集与分析对接 立即下载

相关镜像