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 if nil map in entry.
ruitao.liudbba8cb57ed6
diff --git a/weed/s3api/s3api_bucket_handlers.go b/weed/s3api/s3api_bucket_handlers.goindex 643d15a04c..b4f83a87f8 100644--- a/weed/s3api/s3api_bucket_handlers.go+++ b/weed/s3api/s3api_bucket_handlers.go@@ -96,6 +96,9 @@ func (s3a *S3ApiServer) PutBucketHandler(w http.ResponseWriter, r *http.Request)fn := func(entry *filer_pb.Entry) {if identityId := r.Header.Get(xhttp.AmzIdentityId); identityId != "" {+ if entry.Extended == nil {+ entry.Extended = make(map[string][]byte)+ }entry.Extended[xhttp.AmzIdentityId] = []byte(identityId)}}