mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
adjust logs
This commit is contained in:
parent
901e8157de
commit
23f3aea4cf
|
@ -68,7 +68,7 @@ func (vs *VolumeServer) heartbeat() {
|
||||||
vs.store.MasterAddress = master
|
vs.store.MasterAddress = master
|
||||||
newLeader, err = vs.doHeartbeat(master, grpcDialOption, time.Duration(vs.pulseSeconds)*time.Second)
|
newLeader, err = vs.doHeartbeat(master, grpcDialOption, time.Duration(vs.pulseSeconds)*time.Second)
|
||||||
if err != nil {
|
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)
|
time.Sleep(time.Duration(vs.pulseSeconds) * time.Second)
|
||||||
newLeader = ""
|
newLeader = ""
|
||||||
vs.store.MasterAddress = ""
|
vs.store.MasterAddress = ""
|
||||||
|
|
Loading…
Reference in a new issue