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
add WaitForReady to grpc DialOption
Konstantin Lebedev918546bbdb20
diff --git a/weed/pb/grpc_client_server.go b/weed/pb/grpc_client_server.goindex ce706e282b..f19af43b2d 100644--- a/weed/pb/grpc_client_server.go+++ b/weed/pb/grpc_client_server.go@@ -62,6 +62,7 @@ func GrpcDial(ctx context.Context, address string, opts ...grpc.DialOption) (*grgrpc.WithDefaultCallOptions(grpc.MaxCallSendMsgSize(Max_Message_Size),grpc.MaxCallRecvMsgSize(Max_Message_Size),+ grpc.WaitForReady(true),),grpc.WithKeepaliveParams(keepalive.ClientParameters{Time: 30 * time.Second, // client ping server if no activity for this long