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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
} |
|
|
|
} |
|
|
|