-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vfs with suffix files crashes in discovery when server has virtual files uploaded #6953
Comments
This looks right, all three files are synced as-is.
Looks good too, all .owncloud files on the server are ignored, so only "test" gets propagated as "test.owncloud".
That's odd. I'd have imagined all three files to be around - with the cfapi plugin the client doesn't even know about the .owncloud suffix. Will try to reproduce. |
Thanks, let me know if you can reproduce |
@HanaGemela I can't reproduce. Steps:
I've also tested that the "Free up space" and "Always available on this device" actions work on them. |
Tried again and cannot reproduce either. Looks good too, all .owncloud files on the server are ignored, so only "test" gets propagated as "test.owncloud". And the content of the file is empty so I can't verify. The same issue as #7338 |
@HanaGemela I don't quite understand your message. What exactly can't you verify? How does this issue relate to #7338. If you still see an issue (in particular with today's build) can you give me updated steps (or create a new issue if unrelated)? |
I've tested the following:
But there are still some hickups around .owncloud files existing on the server. I'll create a ticket for 2.6.1. @HanaGemela Can this be closed? |
@ckamm you said that .owncloud files are ignored on the server. Does that mean that they should not be synced when VFS is off? They currently are synced |
I've observed strange behaviour that I cannot recreate. The only unusual thing was that the client was in different time zone than the server. Log were not saved. I've uploaded the files on the server and the Linux client kept adding test.owncloud virtual file every two seconds over and over again. In the same test on the macOS client with VFS off all 3 files have been downloaded. Once I hydrated test.owncloud on the Linux client, test.owncloud disappeared from macOS client. |
Also the notification is wrong. The notification says that all 3 files have been added and in the logs I can see things like |
@HanaGemela If suffix vfs is off, there's no special handling for suffixed files on the server or on the client. So what you observe is correct. Having suffixed files on the server or suffixed and unsuffixed files with the same name locally has a bunch of edge cases that will be addressed for 2.6.1 with #7367 - the current behavior is inconsistent. |
To reproduce upload
to the server. The discovery will get confused and crash in
ASSERT(_dirItem && _dirItem->_instruction == CSYNC_INSTRUCTION_RENAME);
.The text was updated successfully, but these errors were encountered: