Skip to content

Commit

Permalink
Remove S3 output stream (#27280)
Browse files Browse the repository at this point in the history
Now the blob size information is available before writing anything, 
the repository implementation can know upfront what will be the 
more suitable API to upload the blob to S3.

This commit removes the DefaultS3OutputStream and S3OutputStream 
classes and moves the implementation of the upload logic directly in the 
S3BlobContainer.

related #26993
closes #26969
  • Loading branch information
tlrx committed Nov 10, 2017
1 parent 0a6ef65 commit 15cd332
Show file tree
Hide file tree
Showing 9 changed files with 566 additions and 615 deletions.
7 changes: 4 additions & 3 deletions docs/plugins/repository-s3.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,10 @@ The following settings are supported:
http://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html[AWS Multipart Upload API]
to split the chunk into several parts, each of `buffer_size` length, and
to upload each part in its own request. Note that setting a buffer
size lower than `5mb` is not allowed since it will prevents the use of the
Multipart API and may result in upload errors. Defaults to the minimum
between `100mb` and `5%` of the heap size.
size lower than `5mb` is not allowed since it will prevent the use of the
Multipart API and may result in upload errors. It is also not possible to
set a buffer size greater than `5gb` as it is the maximum upload size
allowed by S3. Defaults to the minimum between `100mb` and `5%` of the heap size.

`canned_acl`::

Expand Down

This file was deleted.

Loading

0 comments on commit 15cd332

Please sign in to comment.