-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not fail complete reindex when one object fails
There are cases when we do a reindex where the object name in the serialized JSON does not match the name we get when selecting `(id, name)` from the database. Currently when this lookup fails, the entire reindex crashes. This change makes it so that if we fail to find the name, instead of failing entirely, we output a list of objects that failed to reindex to the user. Signed-off-by: Nathan L Smith <[email protected]>
- Loading branch information
Nathan L Smith
committed
Oct 11, 2016
1 parent
121d920
commit 1d68f9a
Showing
2 changed files
with
38 additions
and
25 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