{"action":"closed","issue":{"url":"https://api.github.com/repos/alibaba/canal/issues/172","repository_url":"https://api.github.com/repos/alibaba/canal","labels_url":"https://api.github.com/repos/alibaba/canal/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/canal/issues/172/comments","events_url":"https://api.github.com/repos/alibaba/canal/issues/172/events","html_url":"https://github.com/alibaba/canal/issues/172","id":151078756,"number":172,"title":"rds配置了主从库，主从库切换时候出现异常。","user":{"login":"chenyishun","id":18676091,"avatar_url":"https://avatars.githubusercontent.com/u/18676091?v=3","gravatar_id":"","url":"https://api.github.com/users/chenyishun","html_url":"https://github.com/chenyishun","followers_url":"https://api.github.com/users/chenyishun/followers","following_url":"https://api.github.com/users/chenyishun/following{/other_user}","gists_url":"https://api.github.com/users/chenyishun/gists{/gist_id}","starred_url":"https://api.github.com/users/chenyishun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenyishun/subscriptions","organizations_url":"https://api.github.com/users/chenyishun/orgs","repos_url":"https://api.github.com/users/chenyishun/repos","events_url":"https://api.github.com/users/chenyishun/events{/privacy}","received_events_url":"https://api.github.com/users/chenyishun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-04-26T08:55:02Z","updated_at":"2016-06-30T08:44:00Z","closed_at":"2016-06-30T08:44:00Z","body":"异常报错如下：\r\n16-04-22 07:11:24.236 [destination = crm_csc_03 , address = rdst58y130m2pdn0th48.mysql.rds.aliyuncs.com/10.248.4.8:3306 , EventParser] ERROR com.alibaba.otter.canal.common.alarm.LogAlarmHandler - destination:crm_csc_03[java.io.IOException: Received error packet: errno = 1236, sqlstate = HY000 errmsg = Could not find first log file name in binary log index file\r\n\tat com.alibaba.otter.canal.parse.inbound.mysql.dbsync.DirectLogFetcher.fetch(DirectLogFetcher.java:95)\r\n\tat com.alibaba.otter.canal.parse.inbound.mysql.MysqlConnection.dump(MysqlConnection.java:113)\r\n\tat com.alibaba.otter.canal.parse.inbound.AbstractEventParser$3.run(AbstractEventParser.java:209)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n]\r\n主从库切换从库上没有找到binlog,fetch时报错。\r\n我看canal监听可以配置主从库地址。这个方法可以解决该问题吗？\r\n像这种问题有没有好的解决方案？"}}
{"actor":{"display_login":"agapple"}}