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 object name
chrislu2188d1ccc5a3
diff --git a/weed/s3api/s3api_object_versioning.go b/weed/s3api/s3api_object_versioning.goindex a2a7c3a3d6..0174c2a4b7 100644--- a/weed/s3api/s3api_object_versioning.go+++ b/weed/s3api/s3api_object_versioning.go@@ -424,8 +424,9 @@ func (s3a *S3ApiServer) findVersionsRecursively(currentPath, relativePath string}// Check if a .versions directory exists for this object- versionsObjectPath := normalizedObjectKey + s3_constants.VersionsFolder- _, versionsErr := s3a.getEntry(currentPath, versionsObjectPath)+ // Use entry.Name (relative to currentPath) to avoid duplicating subdirectory segments+ versionsEntryName := entry.Name + s3_constants.VersionsFolder+ _, versionsErr := s3a.getEntry(currentPath, versionsEntryName)if versionsErr == nil {// .versions directory existsglog.V(4).Infof("Found .versions directory for regular file %s, hasVersionMeta=%v", normalizedObjectKey, hasVersionMeta)