"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
local: don't ignore preallocate disk full errors
Nick Craig-Wood89e8fb48180c
diff --git a/backend/local/local.go b/backend/local/local.goindex 18f399250..60491c6b7 100644--- a/backend/local/local.go+++ b/backend/local/local.go@@ -1145,6 +1145,10 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, operr = file.PreAllocate(src.Size(), f)if err != nil {fs.Debugf(o, "Failed to pre-allocate: %v", err)+ if err == file.ErrDiskFull {+ _ = f.Close()+ return err+ }}}out = f