by mogoh · 4y ago · 0 comments
The corruption was something like this:
- I recursively renamed all files from a folder from uppercase to lower case. Suddenly I duplicated files, uppercase and lower case.
- I did not use a device for a long time (a year or so). After switching the old device on, it "recovers" deleted files.
- I put a git repository into a sync folder. It stopped working after a while.
This, however, could be a solved problem by now, as it is 2+ years ago, that I tried syncthing.
Am I the only one with that kind of Problems? Has the situation improved?
Resilio worked pretty well for me for years but now gets stuck with a weird SQLite error
If a synchronization software can't handle a git repository, what else is it not able to handle? After all, a git repository is just a bunch of files and in my case not particular big once.
If you use Syncthing peer-to-peer and/or have concurrent modifications to different peers before a full sync, you can run into problems. It’s not really designed for that, it’s optimised from the single user sharing individual files on multiple devices case.
Doing anything better here is incredibly hard in a peer-to-peer system on the level of abstraction that Syncthing operates on.
I think renames might be/may have been problematic because it tries to be smart and handle them efficiently. If it did the naive thing of delete followed by creation, consistency would be better, but performance would be worse.