rclone/lib/cache
Nick Craig-Wood 91afa14d28 lib/cache: fix alias backend shutting down too soon
Before this patch, when an alias backend was created it would be
renamed to be canonical and in the process Shutdown would be called on
it. This was particularly noticeable with the dropbox backend which
gave this error when uploading files after the backend was Shutdown.

    Failed to copy: upload failed: batcher is shutting down

This patch fixes the cache Rename code not to finalize objects if the
object that is being overwritten is the same as the existing object.

See: https://forum.rclone.org/t/upload-failed-batcher-is-shutting-down/33900
2022-11-09 16:30:33 +00:00
..
cache_test.go all: fix spelling across the project 2022-08-30 11:16:26 +02:00
cache.go lib/cache: fix alias backend shutting down too soon 2022-11-09 16:30:33 +00:00