-
Notifications
You must be signed in to change notification settings - Fork 801
do ES bulks err #77
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
Comments
测试结果如下:
POST /test/type1/_bulk { |
Thanks @hzruandd , I will see it later.
The error looks strange, can golang/go#16012 fix it? |
it works well when i start, and it can sync binlog from mysql to es. maybe seconds latter, it appears the above error. |
Seem that this is the problem for socket, how many TIME_WAIT with netstat? |
Please update the codes and try again. |
2016/12/12 16:33:39 binlogsyncer.go:71: [info] create BinlogSyncer with config &{100 mysql 10.8.6.182 3306 root passwd false false}
2016/12/12 16:33:39 dump.go:96: [info] skip dump, use last binlog replication pos (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 sync.go:17: [info] start sync binlog at (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 binlogsyncer.go:226: [info] begin to sync binlog from position (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 binlogsyncer.go:130: [info] register slave for master server 10.8.6.182:3306
2016/12/12 16:33:39 status.go:52: [info] run status http server 10.8.6.170:12800
2016/12/12 16:33:39 binlogsyncer.go:552: [info] rotate to (mysql-bin.000001, 30940085)
2016/12/12 16:33:39 sync.go:53: [info] rotate binlog to (mysql-bin.000001, 30940085)
2016/12/12 16:34:52 sync.go:327: [error] sync docs err Post http://10.8.6.170:9200/_bulk: dial tcp 10.8.6.170:9200: connect: cannot assign requested address after binlog (mysql-bin.000001, 40298382)
2016/12/12 16:34:52 sync.go:54: [error] do ES bulks err Post http://10.8.6.170:9200/_bulk: dial tcp 10.8.6.170:9200: connect: cannot assign requested address, stop
2016/12/12 16:34:52 handler.go:35: [error] handle ESRiverRowsEventHandler err, interrupted
2016/12/12 16:34:52 sync.go:57: [error] handle rows event error do handler error, interrupted
2016/12/12 16:34:52 canal.go:151: [error] canal start sync binlog err: do handler error, interrupted
直接通过ES的restful接口做bulk操作测试,只要保证每个item都有'\n'即可成功。 但是目前却无法同步mysql的binlog数据了。
The text was updated successfully, but these errors were encountered: