Package com.google.gerrit.server.notedb
Class DeleteZombieCommentsRefs
- java.lang.Object
-
- com.google.gerrit.server.notedb.DeleteZombieCommentsRefs
-
public class DeleteZombieCommentsRefs extends Object
This class can be used to clean zombie draft comments refs. More context in https://gerrit-review.googlesource.com/c/gerrit/+/246233An earlier bug in the deletion of draft comments
refs/draft-comments/$change_id_short/$change_id/$user_id
caused some draft refs to remain in Git and not get deleted. These refs point to an empty tree.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DeleteZombieCommentsRefs.Factory
-
Constructor Summary
Constructors Constructor Description DeleteZombieCommentsRefs(AllUsersName allUsers, GitRepositoryManager repoManager, Integer cleanupPercentage)
-
-
-
Constructor Detail
-
DeleteZombieCommentsRefs
@Inject public DeleteZombieCommentsRefs(AllUsersName allUsers, GitRepositoryManager repoManager, Integer cleanupPercentage)
-
-
Method Detail
-
execute
public void execute() throws IOException
- Throws:
IOException
-
-