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
ping timeout at 15 seconds
chrislu10414fd81c27
diff --git a/weed/server/master_server.go b/weed/server/master_server.goindex 9adcafc6fe..feee594556 100644--- a/weed/server/master_server.go+++ b/weed/server/master_server.go@@ -361,7 +361,7 @@ func (ms *MasterServer) OnPeerUpdate(update *master_pb.ClusterNodeUpdate, startF}} else {pb.WithMasterClient(false, peerAddress, ms.grpcDialOption, true, func(client master_pb.SeaweedClient) error {- ctx, cancel := context.WithTimeout(context.TODO(), time.Minute*72)+ ctx, cancel := context.WithTimeout(context.TODO(), 15*time.Second)defer cancel()if _, err := client.Ping(ctx, &master_pb.PingRequest{Target: string(peerAddress), TargetType: cluster.MasterType}); err != nil {glog.V(0).Infof("master %s didn't respond to pings. remove raft server", peerName)