首页 > 解决方案 > Gerrit 复制总是在重新调度

问题描述

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" ]

而且复制工作似乎永远不会完成......

我的 gerrit 版本是 3.2.3。

我该如何解决这个问题?非常感谢。

标签: replicationgerrit

解决方案


我的修复操作是两个之一

1.等待冲突任务完成

2.cd进入repo文件夹,比如project.git,运行'git push --mirror ssh://user@RemoteHost:project.git'。Gerrit Rescheduled任务很快就会消失。


推荐阅读