-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
retry connect to master #14
Comments
不是同一个端口,一个是连接 |
get dumpcmd failed 可能是配置文件错误,能否提供下配置文件,和master.info |
请问哪里的master.info 文件 ,说明文档里面没有提及到阿? |
同样是出现
//在这里打印p 标志位置打印p值出来,发现前面带多了个换行符,改为
程序可以运行;之后继续测试 ,出现 2015-03-23 15:06:31 [ERROR] <thread : 139845352974080> unknown event, 30 2015-03-23 15:06:31 [DEBUG] <thread : 139845352974080> 这样的错误,定位代码,应该是rs_read_binlog.c 里面对mysql的binlog解释出了问题:
我的环境是fedora20 mysql version 5.6.23 |
不是说不支持5.6吗? |
我也越到了这个问题,这个问题貌似是文件rs_request_dump.c:140这个地方goto free。这个地方的p有可能是"\n\n,test.test,"。按照代码逻辑应该是"\n,test.test,"。这个地方的逻辑是否应该改一下? |
多谢反馈 |
你好,想请教一个这个问题,请移步:https://github.com/Terry-Mao/MySQL-Syncer/issues/23(抱拳) |
原因出在mysql的版本上,作者的MySQL版本是5.6以下的。5.5和5.5以上的MySQL的事件类型差别很大,以mysql5.7为例,事件id为30时,表示WRITE写事件,而作者源码中事件类型最多只有27种,所以当事件类型大于27时会出问题,这边是原因所在。 |
mast slave 启动成功后,slave 日志里一直显示:
<thread : 140337872852736> retry connect to master
有两个地方不太清楚:
[ERROR] <thread : 139641752966912> get dumpcmd failed
不太清楚他们之间发生了什么。。
The text was updated successfully, but these errors were encountered: