Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

follow the redirected master

Chris Lu7a707617e58e
diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go
index da867696df..6ba668ade1 100644
--- a/weed/wdclient/masterclient.go
+++ b/weed/wdclient/masterclient.go
@@ -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()