aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2024-03-21 00:54:29 +0500
committerGitHub <noreply@github.com>2024-03-20 12:54:29 -0700
commitd821cb3b187a381a42da3fcbc2749c5e66077f1d (patch)
tree8bf707d31f6ef0c36c0209e2359bd6138f566590
parenta1816d21e988317232b985ce508c10503d81c6d1 (diff)
downloadseaweedfs-d821cb3b187a381a42da3fcbc2749c5e66077f1d.tar.xz
seaweedfs-d821cb3b187a381a42da3fcbc2749c5e66077f1d.zip
fix: sync without dir /buckets/some/.uploads/hash_hash (#5402)
-rw-r--r--weed/command/filer_sync.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.go
index 292fb0956..9ad76e31b 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
}