Merge pull request #36 from github/master-pos-wait-fix
some messagages are now Info instead of Debug
This commit is contained in:
commit
45371d9374
@ -568,15 +568,15 @@ func (this *Applier) StopSlaveNicely() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Debugf("Replication stopped at %+v. Will wait for SQL thread to apply", *binlogCoordinates)
|
log.Infof("Replication stopped at %+v. Will wait for SQL thread to apply", *binlogCoordinates)
|
||||||
if err := this.MasterPosWait(binlogCoordinates); err != nil {
|
if err := this.MasterPosWait(binlogCoordinates); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Debugf("Replication SQL thread applied all events")
|
log.Infof("Replication SQL thread applied all events")
|
||||||
if selfBinlogCoordinates, err := mysql.GetSelfBinlogCoordinates(this.db); err != nil {
|
if selfBinlogCoordinates, err := mysql.GetSelfBinlogCoordinates(this.db); err != nil {
|
||||||
return err
|
return err
|
||||||
} else {
|
} else {
|
||||||
log.Debugf("Self binlog coordinates: %+v", *selfBinlogCoordinates)
|
log.Infof("Self binlog coordinates: %+v", *selfBinlogCoordinates)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user