git-hooks复制是主要的

时间:2018-12-14 09:11:22

标签: github-enterprise

在我们的Git副本服务器上,运行时出现此错误: ghe-repl-status

关键:git-hooks复制落后于主副本13536s

任何人都可以解释这意味着什么以及如何解决? 我在Google上进行了搜索,但仅找到Git发行说明。

1 个答案:

答案 0 :(得分:0)

感谢GitHub Enterprise支持,这里是解决方案:

1 /在副本上停止/启动领事服务:

/usr/local/share/enterprise/ghe-repl-stop-consul
/usr/local/share/enterprise/ghe-repl-start-consul

2 /检查副本状态为OK:

admin@01-replica:~$ ghe-repl-status
OK: mysql replication is in sync
OK: redis replication is in sync
OK: elasticsearch cluster is in sync
OK: git replication is in sync
OK: pages replication is in sync
OK: alambic replication is in sync
OK: git-hooks replication is in sync
OK: consul replication is in sync