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
filer: mint volume read JWT when proxying chunk reads (#10100)
Chris Lu4d3e5d94a916
diff --git a/weed/server/filer_server_handlers_proxy.go b/weed/server/filer_server_handlers_proxy.goindex ae73c88b1d..5126d421a8 100644--- a/weed/server/filer_server_handlers_proxy.go+++ b/weed/server/filer_server_handlers_proxy.go@@ -97,6 +97,11 @@ func (fs *FilerServer) proxyToVolumeServer(w http.ResponseWriter, r *http.Reques}}+ // volume server may require a read JWT even though the proxy endpoint doesn't+ if jwt := fs.maybeGetVolumeReadJwtAuthorizationToken(fileId); jwt != "" {+ proxyReq.Header.Set("Authorization", "BEARER "+jwt)+ }+proxyResponse, postErr := util_http.GetGlobalHttpClient().Do(proxyReq)if postErr != nil {