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 subimit count parameter
Chris Lue12b6c030641
diff --git a/weed/server/common.go b/weed/server/common.goindex f1f2e4e4f6..005424f6df 100644--- a/weed/server/common.go+++ b/weed/server/common.go@@ -99,8 +99,16 @@ func submitForClientHandler(w http.ResponseWriter, r *http.Request, masterUrl stdebug("assigning file id for", fname)r.ParseForm()+ count := uint64(1)+ if r.FormValue("count") != "" {+ count, pe = strconv.ParseUint(r.FormValue("count"), 10, 32)+ if pe != nil {+ writeJsonError(w, r, http.StatusBadRequest, pe)+ return+ }+ }ar := &operation.VolumeAssignRequest{- Count: 1,+ Count: count,Replication: r.FormValue("replication"),Collection: r.FormValue("collection"),Ttl: r.FormValue("ttl"),