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

done

I've got a stale .git/annex/tmp/rsynctmp file that just won't go away, and I think its because I cancelled an in-progress rsync, then did something else, as you describe.

Is it ok to manually remove the file?

Thanks! Albert

Comment by http://www.openid.albertlash.com/openid/ Wed Oct 24 15:47:16 2012
rsynctmp is only used when sending files to a rsync special remote. You can certianly delete it if you got a stale one, but the next time a file is sent to a rsync special remote it should delete it anyway.
Comment by http://joeyh.name/ Wed Oct 24 15:50:40 2012
Comments on this page are closed.