Skip to content

Commit 871deb1

Browse files
committed
update maximum multipart size to 48.828125 TiB
Signed-off-by: Bala.FA <[email protected]>
1 parent 2754331 commit 871deb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/main/java/io/minio/ObjectWriteArgs.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
* PutObjectBaseArgs}, {@link ComposeObjectArgs} and {@link CopyObjectArgs}.
3131
*/
3232
public abstract class ObjectWriteArgs extends ObjectArgs {
33-
// allowed maximum object size is 5TiB.
34-
public static final long MAX_OBJECT_SIZE = 5L * 1024 * 1024 * 1024 * 1024;
3533
// allowed minimum part size is 5MiB in multipart upload.
3634
public static final int MIN_MULTIPART_SIZE = 5 * 1024 * 1024;
3735
// allowed maximum part size is 5GiB in multipart upload.
3836
public static final long MAX_PART_SIZE = 5L * 1024 * 1024 * 1024;
3937
public static final int MAX_MULTIPART_COUNT = 10000;
38+
// allowed maximum object size is 48.828125 TiB.
39+
public static final long MAX_OBJECT_SIZE = MAX_PART_SIZE * MAX_MULTIPART_COUNT;
4040

4141
protected Http.Headers headers;
4242
protected Http.Headers userMetadata;

0 commit comments

Comments
 (0)