Browse Source

Merge pull request #816 from PapaYofen/feat-heartbeat

Speed up heartbeat to new master leader
pull/821/head
Chris Lu 6 years ago
committed by GitHub
parent
commit
88849b9807
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/server/volume_grpc_client_to_master.go

2
weed/server/volume_grpc_client_to_master.go

@ -110,7 +110,7 @@ func (vs *VolumeServer) doHeartbeat(masterNode string, sleepInterval time.Durati
glog.V(0).Infof("Volume Server Failed to talk with master %s: %v", masterNode, err)
return "", err
}
case <-doneChan:
case err = <-doneChan:
return
}
}

Loading…
Cancel
Save