aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-01-18 09:23:24 -0800
committerchrislu <chris.lu@gmail.com>2024-01-18 09:24:52 -0800
commit4ca6b1be3c96b2b135de03527f52d4eb2dd5e121 (patch)
tree32d7d6554aa82d45adaec3843963576045e686dc /weed/command
parent5c90b27b0a1b49108053acc8c77c4ba9c54ad401 (diff)
downloadseaweedfs-4ca6b1be3c96b2b135de03527f52d4eb2dd5e121.tar.xz
seaweedfs-4ca6b1be3c96b2b135de03527f52d4eb2dd5e121.zip
skip updating the .upload multipart files
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/filer_remote_gateway_buckets.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/command/filer_remote_gateway_buckets.go b/weed/command/filer_remote_gateway_buckets.go
index 53abee8b7..9bb59dabb 100644
--- a/weed/command/filer_remote_gateway_buckets.go
+++ b/weed/command/filer_remote_gateway_buckets.go
@@ -271,6 +271,9 @@ func (option *RemoteGatewayOptions) makeBucketedEventProcessor(filerSource *sour
}
}
}
+ if isMultipartUploadFile(message.NewParentPath, message.NewEntry.Name) {
+ return nil
+ }
oldBucket, oldRemoteStorageMountLocation, oldRemoteStorage, oldOk := option.detectBucketInfo(resp.Directory)
newBucket, newRemoteStorageMountLocation, newRemoteStorage, newOk := option.detectBucketInfo(message.NewParentPath)
if oldOk && newOk {