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
update s3 session cache key (#6923)
chalet877b9b788a49
diff --git a/weed/storage/backend/s3_backend/s3_sessions.go b/weed/storage/backend/s3_backend/s3_sessions.goindex ca3fc62fc1..dfb0aa564f 100644--- a/weed/storage/backend/s3_backend/s3_sessions.go+++ b/weed/storage/backend/s3_backend/s3_sessions.go@@ -31,7 +31,8 @@ func createSession(awsAccessKeyId, awsSecretAccessKey, region, endpoint string,sessionsLock.Lock()defer sessionsLock.Unlock()- if t, found := s3Sessions[region]; found {+ cacheKey := fmt.Sprintf("%s|%s", region, endpoint)+ if t, found := s3Sessions[cacheKey]; found {return t, nil}