mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
9cc8ff4dd4
Some storage providers e.g. S3 don't have an efficient rename operation. Before this change, when chunker finished an upload, the server-side copy and delete operations that renamed temporary chunks to their final names could take a significant amount of time. This PR records transaction identifier (versioning) in the metadata of chunker composite objects striving to remove the need for rename operations on such backends. This approach will be triggered be the new "transactions" configuration option, which can be "rename" (the default) or "norename". We implement the new approach for uploads (Put operations). The chunker Move operation still uses the rename operation of underlying backend. Filling this gap is left for a later PR. Co-authored-by: Ivan Andreev <ivandeex@gmail.com> |
||
---|---|---|
.. | ||
clean.go | ||
config.go | ||
config.yaml | ||
report.go | ||
run_test.go | ||
run.go | ||
test_all.go |