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
also return publicUrl when assigning the fid
[email protected]de6e1442d7ae
diff --git a/weed-fs/src/cmd/weedmaster/weedmaster.go b/weed-fs/src/cmd/weedmaster/weedmaster.goindex bf548f5ba0..15f46197f4 100644--- a/weed-fs/src/cmd/weedmaster/weedmaster.go+++ b/weed-fs/src/cmd/weedmaster/weedmaster.go@@ -39,7 +39,7 @@ func dirLookupHandler(w http.ResponseWriter, r *http.Request) {func dirAssignHandler(w http.ResponseWriter, r *http.Request) {fid, machine, err := mapper.PickForWrite()if err == nil {- writeJson(w, r, map[string]string{"fid": fid, "url": machine.Url})+ writeJson(w, r, map[string]string{"fid": fid, "url": machine.Url, "publicUrl":machine.PublicUrl})} else {log.Println(err)writeJson(w, r, map[string]string{"error": err.Error()})