Several things run a lot smoother now with the “receive only” folders.
But there is one thing i noticed:
It seems to me that the following is happening:
There are some files (about 400 in my case) which are in the index twice:
DOWNLO~1/someFile.txt
Downloads/someFile.txt
Now syncthing is trying to sync them.
While syncing: syncthing shows them in the detail view as “reused”, but the number of remaining files does not go down.
I guess there is still some bug in there which does not recognize that these files (#1 & #2) are the same in deed and it keeps syncing and syncing and syncing, never able to reach a synced state.
Addition: The one device where these files (and duplicate entries) originated from is not yet updated right now, but also is offline. (Maybe this info is useful. Maybe the device would auto-correct these entries if it were updated and online?)
But maybe not, since i had another similar case on another folder with just 5 files.
In this case both devices were updated to 50.
I tried to remove and re-add these files on the device where they were shown as missing/out of sync, but it did not help.
Then i deleted an re-added them on another device, which solved the problem.
Actually when i removed the 5 files it showed about 10 or even more (not sure now) files being removed (including the ones with the “~N” suffix).
The re-add did only add the correct filenames.
A) Any ideas how to solve this with the current version?
The linux device can differentiate between “Downloads” and “DOWNLO~2”. The Windows devices can not.
Now that the linux device deleted the “DOWNLO~2” directory. This change is synced to the windows devices.
These (try to) delete the dir but then notice that the “Downloads” dir is missing (they are set to “receive only”).
And somwhere in this they get messed up …
EDIT: I believe it fixed itself now (after pressing “revert local changes” repeatedly). Finally it actually deleted the Downloads dir and is now re-downloading it. This is still pretty stupid … but at least finally the state is ok again.
Please look into this again. Windows devices should detect this case (identical files in the index involving short-names) and handle it gracefully.
Ideally you’d reset the databases on all devices, as it will be close to impossible to get rid of these entries.
You could rename Downloads temporarily, which will allow DOWNLO~1 to be deleted, and then rename it back I guess, but the fact that the entries are still around could cause issues in the future.
How do i need to do this in regards to multiple devices?
Or do i still need to change the folder-ID?
With the same folder-id and when not removing it on all devices simultaneously i assume i still have the old index on some device left which will be re-synced when it connects to the other devices?! Rigth?
That doesn’t require per-folder dbs and would be pretty easy, but useless due to:
Alternatively as discussed above: Also change the folder ID in the process of readding, thus not needing to do it at the same time on all devices, because noone will propagate any old data back.