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
use alternative assign request
Chris Lub04375a3d145
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.goindex 16ad04476e..4b9ac2f2c5 100644--- a/weed/operation/assign_file_id.go+++ b/weed/operation/assign_file_id.go@@ -50,14 +50,14 @@ func Assign(server string, grpcDialOption grpc.DialOption, primaryRequest *VolumlastError = WithMasterServerClient(server, grpcDialOption, func(masterClient master_pb.SeaweedClient) error {req := &master_pb.AssignRequest{- Count: primaryRequest.Count,- Replication: primaryRequest.Replication,- Collection: primaryRequest.Collection,- Ttl: primaryRequest.Ttl,- DataCenter: primaryRequest.DataCenter,- Rack: primaryRequest.Rack,- DataNode: primaryRequest.DataNode,- WritableVolumeCount: primaryRequest.WritableVolumeCount,+ Count: request.Count,+ Replication: request.Replication,+ Collection: request.Collection,+ Ttl: request.Ttl,+ DataCenter: request.DataCenter,+ Rack: request.Rack,+ DataNode: request.DataNode,+ WritableVolumeCount: request.WritableVolumeCount,}resp, grpcErr := masterClient.Assign(context.Background(), req)if grpcErr != nil {