Hi,
this is not my observation, but after finding an interesting blog post about Syncthing perhaps deleting data pointing out a reproducer and suspecting a bug, I’d like to point attention to the issue. Unfortunately the blog author didn’t file a report here, so that’s why I’m doing it. Hope it helps or some maintainer has an idea what’s going on here.
Quote from @Aeyoun
This reproduces it for me. Setup a test directory to sync with two or more remote systems. (I’ve not managed to reproduce with only one remote system syncing.) Change into that directory and run the following Bash one-liner:
for i in $(seq 1 8000); do echo $i > $i.test; done && \
sleep 60 && rm ./*.test && \
sleep 2 && \
for i in $(seq 1 8000); do echo $i > $i.test; done && \
sleep 20 && ls | wc -l && \
rm ./*.test
It should print
8000after 82 seconds but prints some lower number instead. Change the sleep timers a bit and repeat a couple of times if it doesn’t happen right away.
Sources: