follow the redirected master
fix https://github.com/chrislusf/seaweedfs/issues/1070
This commit is contained in:
@@ -79,10 +79,8 @@ func (mc *MasterClient) tryConnectToMaster(master string) (nextHintedLeader stri
|
||||
return err
|
||||
}
|
||||
|
||||
if mc.currentMaster == "" {
|
||||
glog.V(1).Infof("%s Connected to %v", mc.name, master)
|
||||
mc.currentMaster = master
|
||||
}
|
||||
glog.V(1).Infof("%s Connected to %v", mc.name, master)
|
||||
mc.currentMaster = master
|
||||
|
||||
for {
|
||||
volumeLocation, err := stream.Recv()
|
||||
|
||||
Reference in New Issue
Block a user