From 71f9d2beff7d6b1a746e36941c042f23e19ab418 Mon Sep 17 00:00:00 2001 From: Krishna Srinivas Date: Mon, 27 Nov 2017 23:29:02 -0800 Subject: [PATCH] Increase maximum size of PUT request to 5TB (#5241) fixes #5148 --- cmd/utils.go | 4 ++-- docs/minio-limitations.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/utils.go b/cmd/utils.go index d9277a329..282adb0d8 100644 --- a/cmd/utils.go +++ b/cmd/utils.go @@ -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 diff --git a/docs/minio-limitations.md b/docs/minio-limitations.md index 9ce71969a..c3aeb1d4d 100644 --- a/docs/minio-limitations.md +++ b/docs/minio-limitations.md @@ -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|