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

fixes #5148
master
Krishna Srinivas 7 years ago committed by Nitish Tiwari
parent cf414a6053
commit 71f9d2beff
  1. 4
      cmd/utils.go
  2. 2
      docs/minio-limitations.md

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

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

Loading…
Cancel
Save