Browse Source

skip updating the .upload multipart files

pull/5223/head
chrislu 11 months ago
parent
commit
4ca6b1be3c
  1. 3
      weed/command/filer_remote_gateway_buckets.go

3
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) oldBucket, oldRemoteStorageMountLocation, oldRemoteStorage, oldOk := option.detectBucketInfo(resp.Directory)
newBucket, newRemoteStorageMountLocation, newRemoteStorage, newOk := option.detectBucketInfo(message.NewParentPath) newBucket, newRemoteStorageMountLocation, newRemoteStorage, newOk := option.detectBucketInfo(message.NewParentPath)
if oldOk && newOk { if oldOk && newOk {

Loading…
Cancel
Save