mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 18:34:41 +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> |
||
---|---|---|
.. | ||
fstests | ||
mockdir | ||
mockfs | ||
mockobject | ||
test_all | ||
testserver | ||
testy | ||
fstest.go | ||
run.go |