git-annex/doc/bugs/tmp_file_handling.mdwn
Joey Hess d5c18d71ef bug
2011-01-18 13:31:22 -04:00

11 lines
449 B
Markdown

git-annex deletes all tmp files on shutdown, if everything succeeded.
This presents 2 problems:
1. If git-annex is rsyncing something and another one is run, it will
delete the running instance's tmp files.
2. If a long-running rsync transfer is interrupted partway through, the
tmp file was expensive to obtain, and one needs to avoid running
git-annex to do anything else until that transfer can be resumed and
finished.
--[[Joey]]