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
delete the folder object in multi_object_delete
Chris Lu2e89c8c9aee1
diff --git a/weed/s3api/s3api_object_handlers.go b/weed/s3api/s3api_object_handlers.goindex 19d85c495e..55199d4ebe 100644--- a/weed/s3api/s3api_object_handlers.go+++ b/weed/s3api/s3api_object_handlers.go@@ -185,7 +185,7 @@ func (s3a *S3ApiServer) DeleteMultipleObjectsHandler(w http.ResponseWriter, r *hfor _, object := range deleteObjects.Objects {lastSeparator := strings.LastIndex(object.ObjectName, "/")- parentDirectoryPath, entryName, isDeleteData, isRecursive := "", object.ObjectName, true, false+ parentDirectoryPath, entryName, isDeleteData, isRecursive := "", object.ObjectName, true, trueif lastSeparator > 0 && lastSeparator+1 < len(object.ObjectName) {entryName = object.ObjectName[lastSeparator+1:]parentDirectoryPath = "/" + object.ObjectName[:lastSeparator]