From 4ca6b1be3c96b2b135de03527f52d4eb2dd5e121 Mon Sep 17 00:00:00 2001 From: chrislu Date: Thu, 18 Jan 2024 09:23:24 -0800 Subject: [PATCH] skip updating the .upload multipart files --- weed/command/filer_remote_gateway_buckets.go | 3 +++ 1 file changed, 3 insertions(+) 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 {