Skip to content

Commit

Permalink
ReadAllRelayLogs don't wait for passing GTID if server don't use GTID
Browse files Browse the repository at this point in the history
  • Loading branch information
svaroqui committed Apr 27, 2018
1 parent 4129c75 commit bb5ac7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/srv.go
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ func (server *ServerMonitor) freeze() bool {
func (server *ServerMonitor) ReadAllRelayLogs() error {

server.ClusterGroup.LogPrintf("INFO", "Reading all relay logs on %s", server.URL)
if server.DBVersion.IsMariaDB() {
if server.DBVersion.IsMariaDB() && server.HaveMariaDBGTID {
ss, err := dbhelper.GetMSlaveStatus(server.Conn, "")
if err != nil {
return err
Expand Down

0 comments on commit bb5ac7f

Please sign in to comment.