diff --git a/FAQ.md b/FAQ.md index 4e54eab..e2270dd 100644 --- a/FAQ.md +++ b/FAQ.md @@ -31,14 +31,14 @@ 问3:canal是否支持aliyun rds的binlog订阅? -答: 参考issue:[https://github.com/alibaba/canal/issues/727](https://github.com/alibaba/canal/issues/727) +答3: 参考issue:[https://github.com/alibaba/canal/issues/727](https://github.com/alibaba/canal/issues/727) --- 问4:canal的整体性能怎么样? -答: +答4: * 参考issue: [https://github.com/alibaba/canal/issues/726](https://github.com/alibaba/canal/issues/726) * 参考性能测试文档:[https://github.com/alibaba/canal/wiki/Performance](https://github.com/alibaba/canal/wiki/Performance) @@ -48,9 +48,16 @@ 问5: 出现batchId:73 is not the firstly:72 或 clientId:1001 batchId:50560 is not exist , please check -答: -1. 第一个原因都是client在ack的问题,前两个异常是client没有按照顺序ack对应的batchId +答5: +1. 第一个原因是client在ack的问题,前两个异常是client没有按照顺序ack对应的batchId 2. 最后一个是ack的batchId在服务端被清理了ps. 服务端发生清理只有两个原因: * client发起过一次rollback * server端发生过一次instance的重启,比如scan=true时发现文件变化自动restart了 + +--- + + +问6:Received error packet: errno = 1236, sqlstate = HY000 errmsg = Could not find first log file name in binary log index file + +答6: 出现dump异常时,建议把errno/errmsg到google上搜索一下,这个异常是mysql标准返回的,代表对应的binlog位点在mysql里不存在,应该是被mysql server清理掉了,解决办法:重置一下canal订阅位点 \ No newline at end of file