owncloud / core

:cloud: ownCloud web server core (Files, DAV, etc.)
https://owncloud.com
GNU Affero General Public License v3.0
8.35k stars 2.06k forks source link

Unsharing federated folder causes reuploading the part of it by the sync client #33880

Open VicDeo opened 5 years ago

VicDeo commented 5 years ago

reproduced on stable10 with/without OCM changes:

  1. Setup a sync client for user2
  2. user1 shares an empty folder to user2.
  3. user2 adds 2 subfolders
  4. wait for the sync client
  5. user1 revokes the access the the folder
  6. wait for the sync client

on the step 5 sync client recreates the folder and partially uploads content

user2 unshared the folder E (213M) jah-mobile:~/public_html/stable10dup> du -hd0 data/user2/files/ 8.0K data/user2/files/

On the next sync: jah-mobile:~/public_html/stable10dup> du -hd0 data/user2/files/ 38M data/user2/files/

Note: it was reproduced twice and now works as expected :/

ownclouders commented 5 years ago

GitMate.io thinks possibly related issues are https://github.com/owncloud/core/issues/14873 (Dropbox plugin causes endless re-sync in client), https://github.com/owncloud/core/issues/16567 (Renaming folder causes clients to loose files), https://github.com/owncloud/core/issues/10192 (Renaming a Folder with Sync Client Occasionally Causes CSync Error), https://github.com/owncloud/core/issues/1025 (Sync Client features), and https://github.com/owncloud/core/issues/5545 (Detailed Sync Protokoll of the Desktop Client omitts Folders).

PVince81 commented 5 years ago

currently hard to reproduce, might need more data from whoever is able to ?

PVince81 commented 5 years ago

let's try for another 0.5md to reproduce this and hope for more luck

PVince81 commented 5 years ago

as we had no luck reproducing, will need to wait for more info