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
better clean up upload directory
chrislu18ae8943ef59
diff --git a/weed/s3api/filer_util.go b/weed/s3api/filer_util.goindex d227c609ef..dbd6673394 100644--- a/weed/s3api/filer_util.go+++ b/weed/s3api/filer_util.go@@ -55,10 +55,11 @@ func (s3a *S3ApiServer) rm(parentDirectoryPath, entryName string, isDeleteData,func doDeleteEntry(client filer_pb.SeaweedFilerClient, parentDirectoryPath string, entryName string, isDeleteData bool, isRecursive bool) error {request := &filer_pb.DeleteEntryRequest{- Directory: parentDirectoryPath,- Name: entryName,- IsDeleteData: isDeleteData,- IsRecursive: isRecursive,+ Directory: parentDirectoryPath,+ Name: entryName,+ IsDeleteData: isDeleteData,+ IsRecursive: isRecursive,+ IgnoreRecursiveError: true,}glog.V(1).Infof("delete entry %v/%v: %v", parentDirectoryPath, entryName, request)