summaryrefslogtreecommitdiff
path: root/doc/bugs/tmp_file_handling.mdwn
blob: 3c6c2a5976df1624bddd7c32b78f7a411896ae97 (plain)
1
2
3
4
5
6
7
8
9
10
11
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]]