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: doDeleteFiles deletes files (#5198)
Konstantin Lebedev8d23e36c4512
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.goindex 006f6794aa..20464fa50a 100644--- a/weed/command/filer_sync.go+++ b/weed/command/filer_sync.go@@ -410,7 +410,7 @@ func genProcessFunction(sourcePath string, targetPath string, excludePaths []str}// handle deletionsif filer_pb.IsDelete(resp) {- if doDeleteFiles {+ if !doDeleteFiles {return nil}if !strings.HasPrefix(string(sourceOldKey), sourcePath) {