Enable Gerrit replication autoreload

Enable Gerrit replication autoreload to simplify the process of adding
new Gitea backend servers and removing old ones. Without this we would
need to enable remote Gerrit plugin administration (which is global for
all plugins including plugin installations) or restart Gerrit everytime
we want ot change the repliction config file.

Note we did have this setting set at one time and it was removed in
e7c6b76026. This was due to replication
events being dropped and gitea's not being kept in sync when the plugin
updated its config. I think we can toggle this setting to true while we
add do gitea server work and plan for the occasional manual full sync to
ensure nothing gets missed. Then go back to having this set to false
long term when we are done.

Change-Id: I8cf37f6b84516e36deb143a36697874c640c0635
This commit is contained in:
Clark Boylan 2023-02-17 15:04:15 -08:00
parent f29930dc40
commit 982763cc1e

View File

@ -3,7 +3,7 @@
[gerrit]
defaultForceUpdate = true
autoReload = false
autoReload = true
replicateOnStartup = false
{% for replication in gerrit_replication %}