"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
googlephotos: fix "concurrent map write" error - fixes #4003
Nick Craig-Wood4d8d1e287ba3
diff --git a/backend/googlephotos/googlephotos.go b/backend/googlephotos/googlephotos.goindex 3a8775222..4fa4b327d 100644--- a/backend/googlephotos/googlephotos.go+++ b/backend/googlephotos/googlephotos.go@@ -1003,7 +1003,9 @@ func (o *Object) Update(ctx context.Context, in io.Reader, src fs.ObjectInfo, op// Add upload to internal storageif pattern.isUpload {+ o.fs.uploadedMu.Lock()o.fs.uploaded.AddEntry(o)+ o.fs.uploadedMu.Unlock()}return nil}