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
weed upload: usePublicUrl was not being used on big files
Chris Lu35f6518c365a
diff --git a/weed/operation/submit.go b/weed/operation/submit.goindex e8bec382ac..25843c892c 100644--- a/weed/operation/submit.go+++ b/weed/operation/submit.go@@ -170,6 +170,9 @@ func (fi FilePart) Upload(maxMB int, master string, usePublicUrl bool, jwt secur}}fileUrl := "http://" + ret.Url + "/" + id+ if usePublicUrl {+ fileUrl = "http://" + ret.PublicUrl + "/" + id+ }count, e := upload_one_chunk(baseName+"-"+strconv.FormatInt(i+1, 10),io.LimitReader(fi.Reader, chunkSize),