Class GroupsNoteDbConsistencyChecker
- java.lang.Object
-
- com.google.gerrit.server.group.db.GroupsNoteDbConsistencyChecker
-
public class GroupsNoteDbConsistencyChecker extends Object
Check the referential integrity of NoteDb group storage.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GroupsNoteDbConsistencyChecker.Result
The result of a consistency check.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupsNoteDbConsistencyChecker.Result
check(org.eclipse.jgit.lib.Repository allUsersRepo)
Checks for problems with the given All-Users repo.static void
ensureConsistentWithGroupNameNotes(org.eclipse.jgit.lib.Repository allUsersRepo, InternalGroup group)
static void
logConsistencyProblem(ConsistencyCheckInfo.ConsistencyProblemInfo p)
static void
logConsistencyProblemAsWarning(String fmt, Object... args)
static void
logFailToLoadFromGroupRefAsWarning(AccountGroup.UUID uuid)
-
-
-
Method Detail
-
check
public GroupsNoteDbConsistencyChecker.Result check(org.eclipse.jgit.lib.Repository allUsersRepo) throws IOException
Checks for problems with the given All-Users repo.- Throws:
IOException
-
ensureConsistentWithGroupNameNotes
public static void ensureConsistentWithGroupNameNotes(org.eclipse.jgit.lib.Repository allUsersRepo, InternalGroup group) throws IOException
- Throws:
IOException
-
logConsistencyProblemAsWarning
public static void logConsistencyProblemAsWarning(String fmt, Object... args)
-
logConsistencyProblem
public static void logConsistencyProblem(ConsistencyCheckInfo.ConsistencyProblemInfo p)
-
logFailToLoadFromGroupRefAsWarning
public static void logFailToLoadFromGroupRefAsWarning(AccountGroup.UUID uuid)
-
-