1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-13 20:38:12 +02:00
rclone/backend
Nick Craig-Wood 5fa68e9ca5 b2: fix chunked streaming uploads
Streaming uploads are used by rclone rcat and rclone mount
--vfs-cache-mode off.

After the multipart chunker refactor the multipart chunked streaming
upload was accidentally mixing the first and the second parts up which
was causing corrupted uploads.

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.

Fixes #7367
2023-10-13 15:46:36 +01:00
..
alias
all
amazonclouddrive
azureblob docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
b2 b2: fix chunked streaming uploads 2023-10-13 15:46:36 +01:00
box docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
cache
chunker
combine
compress
crypt
drive drive: add --drive-show-all-gdocs to allow unexportable gdocs to be server side copied 2023-10-09 16:53:03 +01:00
dropbox dropbox: factor batcher into lib/batcher 2023-10-03 18:01:34 +01:00
fichier
filefabric
ftp
googlecloudstorage
googlephotos googlephotos: implement batcher for uploads - fixes #6920 2023-10-03 18:01:34 +01:00
hasher
hdfs
hidrive
http
internetarchive
jottacloud jottacloud: add support for reading and writing metadata 2023-09-29 13:19:57 +02:00
koofr
local
mailru
mega docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
memory
netstorage
onedrive onedrive: implement ListR method which gives --fast-list support 2023-10-02 11:12:08 +01:00
opendrive
oracleobjectstorage oracleobjectstorage: fix OpenOptions being ignored in uploadMultipart with chunkWriter 2023-10-09 17:13:42 +01:00
pcloud
pikpak docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
premiumizeme
protondrive
putio
qingstor
quatrix
s3 s3: fix no error being returned when creating a bucket we don't own 2023-10-09 18:15:02 +01:00
seafile
sftp docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
sharefile
sia
smb
storj
sugarsync
swift
union
uptobox
webdav
yandex
zoho