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
s3: do not close reader too early
Chris Lu73f934d5de99
diff --git a/weed/util/http_util.go b/weed/util/http_util.goindex da0b3d8495..48823c1c33 100644--- a/weed/util/http_util.go+++ b/weed/util/http_util.go@@ -370,7 +370,6 @@ func ReadUrlAsReaderCloser(fileUrl string, rangeHeader string) (io.ReadCloser, eif err != nil {return nil, err}- defer CloseResponse(r)if r.StatusCode >= 400 {return nil, fmt.Errorf("%s: %s", fileUrl, r.Status)}