1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-26 04:18:59 +02:00

adjust logs

This commit is contained in:
chrislu 2022-09-18 18:14:24 -07:00
parent 901e8157de
commit 23f3aea4cf

View file

@ -68,7 +68,7 @@ func (vs *VolumeServer) heartbeat() {
vs.store.MasterAddress = master
newLeader, err = vs.doHeartbeat(master, grpcDialOption, time.Duration(vs.pulseSeconds)*time.Second)
if err != nil {
glog.V(0).Infof("heartbeat error: %v", err)
glog.V(0).Infof("heartbeat to %s error: %v", master, err)
time.Sleep(time.Duration(vs.pulseSeconds) * time.Second)
newLeader = ""
vs.store.MasterAddress = ""