在我们的Git副本服务器上,运行时出现此错误: ghe-repl-status
关键:git-hooks复制落后于主副本13536s
任何人都可以解释这意味着什么以及如何解决? 我在Google上进行了搜索,但仅找到Git发行说明。
答案 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