Browse Source

gateway to remote object store: skip replicating multipart upload part files

fix https://github.com/chrislusf/seaweedfs/issues/2509
pull/2515/head
chrislu 3 years ago
parent
commit
bf4d7affc0
  1. 3
      weed/command/filer_remote_gateway_buckets.go

3
weed/command/filer_remote_gateway_buckets.go

@ -181,6 +181,9 @@ func (option *RemoteGatewayOptions) makeBucketedEventProcessor(filerSource *sour
if message.NewParentPath == option.bucketsDir {
return handleCreateBucket(message.NewEntry)
}
if strings.HasPrefix(message.NewParentPath, option.bucketsDir) && strings.Contains(message.NewParentPath, "/.uploads/") {
return nil
}
if !filer.HasData(message.NewEntry) {
return nil
}

Loading…
Cancel
Save