My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2236: Gerrit gc + replication + drafts cause broken replication
1 person starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 2025
Owner:  ----
Closed:  Nov 2013


Sign in to add a comment
 
Project Member Reported by dougk....@gmail.com, Nov 3, 2013
Affected Version: Gerrit 2.7

What steps will reproduce the problem?
** Assume you have a working master/slave configuration
1) Push a change as a draft to a repository
2) Push a second patchset to that change, also as a draft.
3) Delete the first draft patchset.
** At this point, the master will have deleted the refs/changes/*/*/1, but the mirror will have both refs/changes/*/*/1 and refs/changes/*/*/2.
4) Run gerrit gc on the repository.
5) Push a third patchset to the change.  Replication now breaks with the MissingObjectException.

What is the expected output? What do you see instead?
Replication should continue normally, but now replication is stuck because of the MissingObjectException.


Please provide any additional information below.

Nov 4, 2013
Project Member #2 dougk....@gmail.com
So it is.  I think someone can feel free to merge this into the other issue...
Nov 4, 2013
Project Member #3 bklarson@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 2025
Sign in to add a comment

Powered by Google Project Hosting