Please describe the problem.
I’ve just experienced something strange. When files are copied (instead of moved) into a repo with an assistant running, some of them get lost.
What steps will reproduce the problem?
- Start the assistant.
cp -rv some-big-directory your-annex-repo/
- Wait for sync to finish.
- Compare some-big-directory with your-annex-repo/some-big-directory.
It might be of some importance that I’m syncing this repo to 5 different machines.
What version of git-annex are you using? On what operating system?
git-annex version: 6.20170520 local repository version: 6 operating system: linux x86_64
Please provide any additional information below.
Hard to tell, sometimes it happens, sometimes not.
Have you had any luck using git-annex before? (Sometimes we get tired of reading bug reports all day and a lil' positive end note does wonders)
Sure, very cool, but this data loss thing creeped me out!
git annex unused
on the machine that was to add them…I’ve got some
git log -S'KEY'
of what happened. Names censored. So it seems like peers are deleting and re-adding this files, and at the end they end up deleted. The last commit is me manually re-adding them one last time.Please note, that these are completely new files, it’s not possible that merges are deleting them.
Look. What’s happening here? Reverse order. First, a file is saved and then assistant running on other machines makes a decision to remove it. Where does it come from?