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

Add repair step to repair mismatch filecache paths #28253

Merged
merged 13 commits into from
Sep 20, 2017

Commits on Sep 17, 2017

  1. Add repair step to repair mismatch filecache paths

    Whenever a parent-child relationship describes a specific path but the
    entry's actual path is different, this new repair step will adjust it.
    
    In the event where another entry already exists under that name, the
    latter is deleted and replaced by the above entry. This should help
    preserve the metadata associated with the original entry.
    Vincent Petry authored and tomneedham committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    c3fe226 View commit details
    Browse the repository at this point in the history
  2. Repair detached filecache entries through occ files:scan

    Vincent Petry authored and tomneedham committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    8ff57c2 View commit details
    Browse the repository at this point in the history
  3. Use DI and add more tests for storage filter

    Vincent Petry authored and tomneedham committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    97e991d View commit details
    Browse the repository at this point in the history
  4. Run phase 2 of repair on gathered affected storages from phase 1

    When fixing failed cross-storage moves in the file cache and using the
    storage id filter, we filter by target storage for phase 1. However, we
    also need to fix the source storages in phase 2. To do so, a list of
    affected source storages is now gathered in phase 1 to be run on phase
    2.
    Vincent Petry authored and tomneedham committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    4247b50 View commit details
    Browse the repository at this point in the history
  5. occ files:scan --all --repair repairs all storages at once

    This instead of iterating over all storages which is way less efficient
    due to the 1-N nature of potential failed cross-storage moves that we
    are repairing.
    
    If singleuser mode is enabled and "--all --repair" is passed, all
    storages will be repaired in bulk (no repair filter). If not, it will
    fall back to iterating over each storage which is slower.
    Vincent Petry authored and tomneedham committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    dfaece3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    894981c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    733ba8c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    76e08b7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    20555eb View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    63747ec View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2017

  1. Oracle hates empty strings

    Vincent Petry committed Sep 18, 2017
    Configuration menu
    Copy the full SHA
    b62ff20 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2017

  1. Workaround for Oracle trigger for fileid

    Vincent Petry committed Sep 19, 2017
    Configuration menu
    Copy the full SHA
    4c15721 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2017

  1. Configuration menu
    Copy the full SHA
    cea1009 View commit details
    Browse the repository at this point in the history