|
|
|
@ -361,7 +361,7 @@ func (cmd *CmdSync) SyncCommand(reader *bufio.Reader, target, auth_type, passwd |
|
|
|
|
offset, err := utils.GetFakeSlaveOffset(srcConn) |
|
|
|
|
if err != nil { |
|
|
|
|
// log.PurePrintf("%s\n", NewLogItem("GetFakeSlaveOffsetFail", "WARN", NewErrorLogDetail("", err.Error())))
|
|
|
|
|
log.Warnf("Event:GetFakeSlaveOffsetFail\tId:%s\tError:%s", conf.Options.Id, err.Error()) |
|
|
|
|
log.Warnf("Event:GetFakeSlaveOffsetFail\tId:%s\tWarn:%s", conf.Options.Id, err.Error()) |
|
|
|
|
|
|
|
|
|
// Reconnect while network error happen
|
|
|
|
|
if err == io.EOF { |
|
|
|
|