Increase maximum size of PUT request to 5TB (#5241)

fixes #5148
This commit is contained in:
Krishna Srinivas 2017-11-27 23:29:02 -08:00 committed by Nitish Tiwari
parent cf414a6053
commit 71f9d2beff
2 changed files with 3 additions and 3 deletions

View File

@ -93,11 +93,11 @@ func checkValidMD5(md5 string) ([]byte, error) {
/// http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
const (
// Maximum object size per PUT request is 16GiB.
// Maximum object size per PUT request is 5TB.
// This is a divergence from S3 limit on purpose to support
// use cases where users are going to upload large files
// using 'curl' and presigned URL.
globalMaxObjectSize = 16 * humanize.GiByte
globalMaxObjectSize = 5 * humanize.TiByte
// Minimum Part size for multipart upload is 5MiB
globalMinPartSize = 5 * humanize.MiByte

View File

@ -23,7 +23,7 @@
|Maximum number of objects per bucket| no-limit|
|Maximum object size| 5 TiB|
|Minimum object size| 0 B|
|Maximum object size per PUT operation| 5 GiB|
|Maximum object size per PUT operation| 5 TiB|
|Maximum number of parts per upload| 10,000|
|Part size|5 MiB to 5 GiB. Last part can be 0 B to 5 GiB|
|Maximum number of parts returned per list parts request| 1000|