diff options
| author | chrislu <chris.lu@gmail.com> | 2024-01-18 09:23:24 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-01-18 09:23:24 -0800 |
| commit | aca3c33bab17e17e0762bf52cb563cfe01cfac47 (patch) | |
| tree | 21b2eede8c240002208fefeb12b779f53ce82ce0 /weed | |
| parent | 314e25aad61fbd383ac95c97ceeca9a3e9595b98 (diff) | |
| download | seaweedfs-aca3c33bab17e17e0762bf52cb563cfe01cfac47.tar.xz seaweedfs-aca3c33bab17e17e0762bf52cb563cfe01cfac47.zip | |
skip updating the .upload multipart files
Diffstat (limited to 'weed')
| -rw-r--r-- | weed/command/filer_remote_gateway_buckets.go | 3 |
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 { |
