Search code examples
replicationgerrit

Gerrit Replication is always Rescheduling


There are thousands of this log:

[2021-08-18 20:21:39,663] Rescheduling replication to git://xxx  to avoid collision with the in-flight push [6e810ffc]. [CONTEXT PLUGIN="replication" RECEIVE_ID="xxxx" project="xxx" pushOneId="2d04c11f" ]
[2021-08-18 20:21:42,663] Rescheduling replication to git://xxx  to avoid collision with the in-flight push [6e810ffc]. [CONTEXT PLUGIN="replication" RECEIVE_ID="xxxx" project="xxx" pushOneId="2d04c11f" ]

And the replication work seems never finish ...

My gerrit version is 3.2.3.

How can I fix this problem? Many thanks.


Solution

  • My fix action is one of two

    1.wait the conflict task to finish

    2.cd into the repo folder,such as project.git and run 'git push --mirror ssh://user@RemoteHost:project.git'.The Gerrit Rescheduled task will disappear soon.