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
refactoring
Chris Lu11fceaf2f7b3
diff --git a/weed/server/filer_server_handlers_read.go b/weed/server/filer_server_handlers_read.goindex 232609e6e9..17842f4d3a 100644--- a/weed/server/filer_server_handlers_read.go+++ b/weed/server/filer_server_handlers_read.go@@ -183,7 +183,7 @@ func (fs *FilerServer) handleMultipleChunks(w http.ResponseWriter, r *http.RequetotalSize := int64(filer2.TotalSize(entry.Chunks))processRangeRequst(r, w, totalSize, mimeType, func(writer io.Writer, offset int64, size int64) error {- return fs.writeContent(writer, entry, offset, int(size))+ return filer2.StreamContent(fs.filer.MasterClient, w, entry.Chunks, offset, int(size))})}@@ -279,9 +279,3 @@ func processRangeRequst(r *http.Request, w http.ResponseWriter, totalSize int64,return}}--func (fs *FilerServer) writeContent(w io.Writer, entry *filer2.Entry, offset int64, size int) error {-- return filer2.StreamContent(fs.filer.MasterClient, w, entry.Chunks, offset, size)--}