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
fix nil map
Chris Lu76b96118817a
diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.goindex 8647bf6968..0f568123a9 100644--- a/weed/server/filer_server_handlers_write_autochunk.go+++ b/weed/server/filer_server_handlers_write_autochunk.go@@ -325,6 +325,9 @@ func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileNa// Save standard HTTP headers as extended attributes// Note: S3 API now writes directly to volume servers and saves metadata via gRPC// This handler is for non-S3 clients (WebDAV, SFTP, mount, curl, etc.)+ if entry.Extended == nil {+ entry.Extended = make(map[string][]byte)+ }for k, v := range r.Header {if len(v) > 0 && len(v[0]) > 0 {if strings.HasPrefix(k, needle.PairNamePrefix) || k == "Cache-Control" || k == "Expires" || k == "Content-Disposition" {