mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
follow the redirected master
fix https://github.com/chrislusf/seaweedfs/issues/1070
This commit is contained in:
parent
15f968b054
commit
7a707617e5
|
@ -79,10 +79,8 @@ func (mc *MasterClient) tryConnectToMaster(master string) (nextHintedLeader stri
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if mc.currentMaster == "" {
|
glog.V(1).Infof("%s Connected to %v", mc.name, master)
|
||||||
glog.V(1).Infof("%s Connected to %v", mc.name, master)
|
mc.currentMaster = master
|
||||||
mc.currentMaster = master
|
|
||||||
}
|
|
||||||
|
|
||||||
for {
|
for {
|
||||||
volumeLocation, err := stream.Recv()
|
volumeLocation, err := stream.Recv()
|
||||||
|
|
Loading…
Reference in a new issue