-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Commits on Sep 17, 2017
-
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.
Configuration menu - View commit details
-
Copy full SHA for c3fe226 - Browse repository at this point
Copy the full SHA c3fe226View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff57c2 - Browse repository at this point
Copy the full SHA 8ff57c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e991d - Browse repository at this point
Copy the full SHA 97e991dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4247b50 - Browse repository at this point
Copy the full SHA 4247b50View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for dfaece3 - Browse repository at this point
Copy the full SHA dfaece3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 894981c - Browse repository at this point
Copy the full SHA 894981cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 733ba8c - Browse repository at this point
Copy the full SHA 733ba8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 76e08b7 - Browse repository at this point
Copy the full SHA 76e08b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20555eb - Browse repository at this point
Copy the full SHA 20555ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 63747ec - Browse repository at this point
Copy the full SHA 63747ecView commit details
Commits on Sep 18, 2017
-
Vincent Petry committed
Sep 18, 2017 Configuration menu - View commit details
-
Copy full SHA for b62ff20 - Browse repository at this point
Copy the full SHA b62ff20View commit details
Commits on Sep 19, 2017
-
Workaround for Oracle trigger for fileid
Vincent Petry committedSep 19, 2017 Configuration menu - View commit details
-
Copy full SHA for 4c15721 - Browse repository at this point
Copy the full SHA 4c15721View commit details
Commits on Sep 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for cea1009 - Browse repository at this point
Copy the full SHA cea1009View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.