-
Notifications
You must be signed in to change notification settings - Fork 669
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
Folder move not propagated to server when any error occurs during the sync #9311
Comments
After deleting the file Newfile.txt which causes the clash on server, the client automatically resyncs, shows the green check mark and the message disappears from 'Not synced' tab. Also EmptyFolder is deleted on server -> OK 20211221_1100_owncloud.log.0.gz The icon for Test-Data and NewFile.txt isn't shown correctly, also not after 'Force sync', reopen the Explorer. Edit, save/exit the file let the file icon change to full file but icon for folder is still circling -> NOT ok Test-Data icon finally changed to cloud icon after 'Free up space' for the file NewFile.txt is done -> OK |
Does that only occur with empty folders? |
Also this seems to be unrelated to a case clash |
Looks like we get |
Tested removal of an empty folder without having a clash with ownCloud-2.10.0-rc3.6417.x64.msi - VFS ON
Result: 'Emptyfolder' is moved locally and deleted on server 20220105_0818_owncloud.log.0.gz |
Retested initial scenario with ownCloud-2.10.0-rc3.6417.x64.msi
Result is reproducible: 'Emptyfolder' is moved to new locaction locally but not deleted on server 20220105_0938_owncloud.log.0.gz
Result is reproducible: the file name clash disappears from 'Not synced' tab, the client shows green checkmark, 'Emptyfolder' is deleted on server. The icons for folder 'Test-Data' and 'Newfile.txt' remain spinning. 20220105_0945_owncloud.log.0.gz Also after a 'Force sync' 20220105_0956_owncloud.log.0.gz |
This time a cannot do a 'Free up' space on file Newfile.txt but a 'Always keep...' and with the result that the icons are shown correctly. |
So for some unknown reason someone decided that folder deletes should not happen during the normal propagation but at the end. client/src/libsync/owncloudpropagator.cpp Line 1156 in bfa9887
and with it the remove jobs. client/src/libsync/owncloudpropagator.cpp Line 1131 in bfa9887
So any sync error in will prevent the removal of empty folders... |
See 1e652e1
|
Here: |
In addition the path can be used for #9311
In addition the path can be used for #9311
tests in ownCloud 4.0.0.10524-daily20230329 f5ecc9 Test 1: #9311 (comment) ✔️
Test 2:
cc @TheOneRing Is step 6 and 7 expected behavior ❓ |
Test scenario:
In previous releases the C was not deleted due to the unrelated error in A I'm pretty sure there are more combinations we should test.... |
Test Result :C is deleted locally independent of the error in A |
Seen with client ownCloud-2.10.0-rc1.6315.x64.msi on Windows 10 20H2
Steps to reproduce:
Result: the client shows red error message "...file name clash..." for a while then shows the 'i' icon, 'Not synced' tab shows the file clash. The Explorer icon of file NeuesFile.txt and folder Test-Data remains spinning.
Result: the folder is moved locally but is not deleted on server
20211220_1821_owncloud.log.1.gz
20211220_1822_owncloud.log.0.gz
20211220_1823_owncloud.log.0.gz
20211220_1823_owncloud.log.1.gz
20211220_1826_owncloud.log.0.gz
20211220_1826_owncloud.log.1.gz
20211220_1827_owncloud.log.0.gz
20211220_1827_owncloud.log.1.gz
The text was updated successfully, but these errors were encountered: