replication - 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。
我该如何解决这个问题?非常感谢。
解决方案
我的修复操作是两个之一
1.等待冲突任务完成
2.cd进入repo文件夹,比如project.git,运行'git push --mirror ssh://user@RemoteHost:project.git'。Gerrit Rescheduled任务很快就会消失。
推荐阅读
- php - 在同一服务器上解析具有不同扩展名的 2 个相同域名会导致问题
- powerquery - 如何在powerquery中过滤列的最大值
- java - 如何在 Google Cloud Storage 中上传批量对象?
- go - Flatbuffer mutate 不会改变字节
- javascript - Javascript 解构数组
- unity3d - 如何将对象从世界画布动画到覆盖画布
- node.js - 如何在 pug 脚本中访问 bashrc 环境变量。部分
- c++ - clang 不会默认构造 const 类成员
- java - 为什么我需要一个 Rest 控制器?
- html - Wordpress 使整个博客文章可点击