Browse Source

adjust logs

pull/3719/head
chrislu 2 years ago
parent
commit
23f3aea4cf
  1. 2
      weed/server/volume_grpc_client_to_master.go

2
weed/server/volume_grpc_client_to_master.go

@ -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 = ""

Loading…
Cancel
Save