"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
protondrive: fix corrupted uploads after a retried upload error - fixes #9722
Nick Craig-Wooda06df7a2de46
diff --git a/backend/protondrive/protondrive.go b/backend/protondrive/protondrive.goindex 2cd6b1f42..4e3e5933a 100644--- a/backend/protondrive/protondrive.go+++ b/backend/protondrive/protondrive.go@@ -1114,7 +1114,7 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, opmodTime := src.ModTime(ctx)var linkID stringvar fileSystemAttrs *proton.RevisionXAttrCommon- if err = o.fs.pacer.Call(func() (bool, error) {+ if err = o.fs.pacer.CallNoRetry(func() (bool, error) {linkID, fileSystemAttrs, err = o.fs.protonDrive.UploadFileByReader(ctx, folderLinkID, leaf, modTime, in, 0)return shouldRetry(ctx, err)}); err != nil {