Skip to content

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.

master: submit support "dataCenter" parameter

Chris Lu916423e96a05
diff --git a/weed/server/common.go b/weed/server/common.go
index ba5562dfeb..1a70b83ec1 100644
--- a/weed/server/common.go
+++ b/weed/server/common.go
@@ -114,6 +114,7 @@ func submitForClientHandler(w http.ResponseWriter, r *http.Request, masterUrl st
}
ar := &operation.VolumeAssignRequest{
Count: count,
+ DataCenter: r.FormValue("dataCenter"),
Replication: r.FormValue("replication"),
Collection: r.FormValue("collection"),
Ttl: r.FormValue("ttl"),