Skip to content

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.

fix: sync without dir /buckets/some/.uploads/hash_hash (#5402)

Konstantin Lebedevd821cb3b187a
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index 292fb09566..9ad76e31b5 100644
--- a/weed/command/filer_sync.go
+++ b/weed/command/filer_sync.go
@@ -394,7 +394,7 @@ func genProcessFunction(sourcePath string, targetPath string, excludePaths []str
glog.V(0).Infof("received %v", resp)
}
- if isMultipartUploadDir(resp.Directory) {
+ if isMultipartUploadDir(resp.Directory + "/") {
return nil
}