mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 15:09:54 +08:00
351fc609b1
Before this change when uploading files bigger than 1TiB, the chunk calculator would work out that the chunk size needed to be bigger than the default 100 MiB to fit within the 10,000 parts limit. However the uploader was still using the memory pool for the old chunk size and this caused errors like panic: runtime error: slice bounds out of range [:122683392] with capacity 100663296 The fix for this is to make a temporary pool with the larger chunk size and use it during the upload of the large file. See: https://forum.rclone.org/t/rclone-cannot-complete-upload-to-b2-restarts-upload-frequently/35617/ |
||
---|---|---|
.. | ||
api | ||
b2_internal_test.go | ||
b2_test.go | ||
b2.go | ||
upload.go |