-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check dependencies for restoring dbs
Summary: If `atLeast` n dbs are missing their dependencies in manifold, we can end up with no db to restore. This happened in S448970 when we removed some of the `www.hack.light` dbs and no `www.hack.incr` were available in query server because all latest `atLeast` n `www.hack.incr` dbs were stacked on removed `www.hack.light`. However there were older dbs available to restore with available dependencies This diff checks if db has dependency available before taking `atLeast` n dbs to restore. This way server will try to restore older available dbs if recent ones have missing dependencies Reviewed By: donsbot, simonmar Differential Revision: D65151032 fbshipit-source-id: 831303bb22de21d17f32bfa8604877f1c9dbf056
- Loading branch information
1 parent
6d41e34
commit b764242
Showing
3 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters