juicedata / juicefs

JuiceFS is a distributed POSIX file system built on top of Redis and S3.
https://juicefs.com
Apache License 2.0
10.63k stars 928 forks source link

fix: JfsObjects.CompleteMultipartUpload #4893

Closed prOOrc closed 4 months ago

prOOrc commented 4 months ago

Description

Increased max size of part to 5Gb in CompleteMultipartUpload

Motivation and Context

I've caught bug when tested server side copy with rclone. Rclone has default copy cutoff 4.656Gi. During CompleteMultipartUpload gateway ignores size of parts and doesn't consider globalMaxPartSize (5GiB) and copies 1Gb max of each part.

CLAassistant commented 4 months ago

CLA assistant check
All committers have signed the CLA.