I’m not sure whether this belongs to Development or Support, but I thought that the former fits better, so I’m creating this topic here.
When hashing files in Windows, Syncthing locks them. This means that such a file cannot be moved/renamed/deleted. I have personally experienced a problem related to this when running some software in Syncthing folders, which from time to time threw errors due to being unable to manipulate its own files.
However, the reason for creating this topic is that today I have received a help request from someone, where a 4.5 GB-sized file was being locked by Syncthing, which prevented them from moving it to a different location. The hardware is decent, but hashing such a large file still took a few minutes, which is understandable.
My question is then, is locking files in order to hash them inevitable, or is there any workaround that could prevent Syncthing from doing so? For instance, the files are not locked when they are being pushed to other devices, i.e. we can still manipulate them on the Windows machine. It seems to be during hashing that they become locked.