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:23:24 -0800
commitaca3c33bab17e17e0762bf52cb563cfe01cfac47 (patch)
tree21b2eede8c240002208fefeb12b779f53ce82ce0 /weed/command
parent314e25aad61fbd383ac95c97ceeca9a3e9595b98 (diff)
downloadseaweedfs-aca3c33bab17e17e0762bf52cb563cfe01cfac47.tar.xz
seaweedfs-aca3c33bab17e17e0762bf52cb563cfe01cfac47.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 {