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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
refactor
Chris Lu59cb6146a3ac
diff --git a/weed/server/volume_grpc_client_to_master.go b/weed/server/volume_grpc_client_to_master.goindex f8875169f8..c4e708dc25 100644--- a/weed/server/volume_grpc_client_to_master.go+++ b/weed/server/volume_grpc_client_to_master.go@@ -24,8 +24,7 @@ func (vs *VolumeServer) GetMaster() string {}func (vs *VolumeServer) checkWithMaster() (err error) {- isConnected := false- for !isConnected {+ for {for _, master := range vs.SeedMasterNodes {err = operation.WithMasterServerClient(master, vs.grpcDialOption, func(masterClient master_pb.SeaweedClient) error {resp, err := masterClient.GetMasterConfiguration(context.Background(), &master_pb.GetMasterConfigurationRequest{})@@ -44,7 +43,6 @@ func (vs *VolumeServer) checkWithMaster() (err error) {}time.Sleep(1790 * time.Millisecond)}- return}func (vs *VolumeServer) heartbeat() {