github / github/gh-ost

"unexpected EOF" at "recursively searching for replication master" phase

Open
#760 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.6k
Forks
1.4k
Avg merge
2h 31m
Merged PRs (30d)
4

Description

On MacOS 10.14.4

```
$ gh-ost \
--cut-over=default \
--exact-rowcount \
--concurrent-rowcount \
--serve-socket-file=./gh-ost.sock \
--postpone-cut-over-flag-file=./gh-ost.cut-over \
--assume-rbr \
--verbose \
--database= \
--table= \
--alter= \
--host=localhost \
--allow-on-master \
--max-load=Threads_running=4 \
--critical-load=Threads_running=10 \
--default-retries=0 \
--chunk-size=10 \
--max-lag-millis=1500 \
--conf=mysql.conf \
--debug
2019-07-01 21:12:33 INFO starting gh-ost 1.0.48
2019-07-01 21:12:33 INFO Migrating ``.``
2019-07-01 21:12:33 INFO connection validated on localhost:3306
2019-07-01 21:12:33 INFO User has REPLICATION CLIENT, REPLICATION SLAVE privileges, and has ALL privileges on `hyperbase_app`.*
2019-07-01 21:12:33 INFO binary logs validated on localhost:3306
2019-07-01 21:12:33 INFO Inspector initiated on kannan:3306, version 5.6.41-log
2019-07-01 21:12:33 INFO Table found. Engine=InnoDB
2019-07-01 21:12:33 DEBUG Estimated number of rows via STATUS: 6
2019-07-01 21:12:33 DEBUG Validated no foreign keys exist on table
2019-07-01 21:12:34 DEBUG Validated no triggers exist on table
2019-07-01 21:12:34 INFO Estimated number of rows via EXPLAIN: 6
2019-07-01 21:12:34 DEBUG Potential unique keys in : []
2019-07-01 21:12:34 INFO Recursively searching for replication master
2019-07-01 21:12:34 DEBUG Looking for master on localhost:3306
[MySQL] 2019/07/01 21:12:34 packets.go:32: unexpected EOF
[MySQL] 2019/07/01 21:12:34 packets.go:118: write tcp [::1]:52797->[::1]:3306: write: broken pipe
[MySQL] 2019/07/01 21:12:34 packets.go:32: unexpected EOF
[MySQL] 2019/07/01 21:12:34 packets.go:118: write tcp [::1]:52798->[::1]:3306: write: broken pipe
[MySQL] 2019/07/01 21:12:34 packets.go:32: unexpected EOF
2019-07-01 21:12:34 ERROR driver: bad connection
2019-07-01 21:12:34 INFO Tearing down inspector
2019-07-01 21:12:34 FATAL driver: bad connection
```

Any idea how to debug this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.