I have reported this bug before but the post got closed and it has never been fixed. Files temporarily disappear from local drive after a rename
I have a Windows program that I wrote myself that renames files that it uses as a database. It expects the rename system call to be synchronous, i.e. when it returns it expects the file to be renamed and reports if it finds it isn’t there under the new name the next time it needs to read it.
If the directory has lots of files in it the rename does not happen until I navigate to the file in the Insync GUI. I then see it appear in front of my eyes and this can be an arbitrary length of time since the system call. I.e. it will never do it locally unless I navigate to it.
There seems to be a threshold in the number of files in folder before the bug happens and then it always happens. This morning a folder of 22 files worked but a folder of 52 files didn’t. Please fix this as it is very annoying. Systems calls that are synchronous cannot be made asynchronous and depend on the GUI, it makes no sense.