Affected Version: 2.3
What steps will reproduce the problem?
1. Wait for a outage/failure at sourceforge.net
2. Replication happens during that time
What is the expected output? What do you see instead?
Replication should be retried and work after this. What happens instead is that replication stops working completely using "gerrit replicate" does not replicate (no error message), "gerrit replicate --all" does not work either. It should generate an error message that "All-Projects" does not exist but it doesn't. This is a strong indication that something doesn't work with the replication at all.
I would expect that I can force the replication without having to restart gerrit.
This somehow sounds like Issue #110 . Below the hopefully relevant log output:
[2012-05-03 13:29:41,203] ERROR com.google.gerrit.server.git.PushReplication : Cannot replicate to ssh://dpp-gerrit@dpp.git.sourceforge.net/gitroot/dpp/All-Projects; repository not found
[2012-05-03 13:30:27,534] ERROR com.google.gerrit.server.git.PushReplication : Cannot replicate to ssh://dpp-gerrit@dpp.git.sourceforge.net/gitroot/dpp/saros
org.eclipse.jgit.errors.TransportException: ssh://dpp-gerrit@dpp.git.sourceforge.net/gitroot/dpp/saros: error occurred during unpacking on the remote end: unpack-objects abnormal exit
at org.eclipse.jgit.transport.BasePackPushConnection.readStatusReport(BasePackPushConnection.java:280)
at org.eclipse.jgit.transport.BasePackPushConnection.doPush(BasePackPushConnection.java:171)
at org.eclipse.jgit.transport.BasePackPushConnection.push(BasePackPushConnection.java:126)
at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:141)
at org.eclipse.jgit.transport.Transport.push(Transport.java:1120)
at com.google.gerrit.server.git.PushOp.pushVia(PushOp.java:281)
at com.google.gerrit.server.git.PushOp.runImpl(PushOp.java:226)
at com.google.gerrit.server.git.PushOp.runPushOperation(PushOp.java:179)
at com.google.gerrit.server.git.PushOp.run(PushOp.java:161)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at com.google.gerrit.server.git.WorkQueue$Task.run(WorkQueue.java:333)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)