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
volume: passing ext info via URL
Chris Lu73bc286377d0
diff --git a/weed/server/volume_server_handlers_read.go b/weed/server/volume_server_handlers_read.goindex a222f198da..9f7f0e8740 100644--- a/weed/server/volume_server_handlers_read.go+++ b/weed/server/volume_server_handlers_read.go@@ -124,7 +124,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)}}- if vs.tryHandleChunkedFile(n, filename, w, r) {+ if vs.tryHandleChunkedFile(n, filename, ext, w, r) {return}@@ -161,7 +161,7 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)}}-func (vs *VolumeServer) tryHandleChunkedFile(n *needle.Needle, fileName string, w http.ResponseWriter, r *http.Request) (processed bool) {+func (vs *VolumeServer) tryHandleChunkedFile(n *needle.Needle, fileName string, ext string, w http.ResponseWriter, r *http.Request) (processed bool) {if !n.IsChunkedManifest() || r.URL.Query().Get("cm") == "false" {return false}@@ -175,7 +175,9 @@ func (vs *VolumeServer) tryHandleChunkedFile(n *needle.Needle, fileName string,fileName = chunkManifest.Name}- ext := filepath.Ext(fileName)+ if ext == "" {+ ext = filepath.Ext(fileName)+ }mType := ""if chunkManifest.Mime != "" {