1
0
mirror of https://github.com/rclone/rclone.git synced 2025-02-20 07:48:33 +02:00
Nick Craig-Wood d8d76ff647 b2: fix server side copies greater than 4GB
After the multipart chunker refactor the multipart chunked server side
copy was accidentally sending one part too many. The last part was 0
length which was rejected by b2.

This was caused by a simple off by one error in the refactoring where
we went from 1 based part number counting to 0 based part number
counting.

Fixing this revealed that the metadata wasn't being re-read for the
copied object either.

This fixes both of those issues and adds an integration tests so it
won't happen again.

See: https://forum.rclone.org/t/large-server-side-copy-in-b2-fails-due-to-bad-byte-range/42294
2023-10-12 11:19:56 +01:00
..
2023-09-05 17:22:36 +01:00
2023-08-11 00:47:01 +09:00
2023-08-22 12:52:13 +01:00
2022-11-07 11:41:47 +00:00
2023-08-22 12:52:13 +01:00
2023-08-22 12:52:13 +01:00