Commit 2039327b authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'sh-revert-multipart-upload-optimization' into 'master'

Revert multipart URL optimization for AWS S3

See merge request gitlab-org/gitlab!52561
parents f8b694b4 05a57af5
---
title: Revert multipart URL optimization for AWS S3
merge_request: 52561
author:
type: fixed
......@@ -206,7 +206,7 @@ module ObjectStorage
end
def requires_multipart_upload?
config.aws? && !has_length && !use_workhorse_s3_client?
config.aws? && !has_length
end
def upload_id
......
......@@ -162,10 +162,6 @@ RSpec.describe ObjectStorage::DirectUpload do
it 'enables the Workhorse client' do
expect(subject[:UseWorkhorseClient]).to be true
end
it 'omits the multipart upload URLs' do
expect(subject).not_to include(:MultipartUpload)
end
end
context 'when only server side encryption is used' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment