Skip to content
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

Selective sync: Skip excluded folders when reading db #5772

Merged
merged 1 commit into from
May 16, 2017
Merged

Commits on May 16, 2017

  1. Selective sync: Skip excluded folders when reading db

    When a new folder becomes selective-sync excluded, we already mark it
    and all its parent folders with _invalid_ etags to force rediscovery.
    
    That's not enough however. Later calls to csync_statedb_get_below_path
    could still pull data about the excluded files into the remote tree.
    
    That lead to incorrect behavior, such as uploads happening for folders
    that had been explicitly excluded from sync.
    
    To fix the problem, statedb_get_below_path is adjusted to not read the
    data about excluded folders from the database.
    
    Currently we can't wipe this data from the database outright because we
    need it to determine whether the files in the excluded folder can be
    wiped away or not.
    
    See owncloud/enterprise#1965
    ckamm committed May 16, 2017
    Configuration menu
    Copy the full SHA
    c5a0ce5 View commit details
    Browse the repository at this point in the history