From df8a7e37f0650f7d738c68fd7eaa5847c17ab048 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Mon, 26 Aug 2019 10:14:28 +0200 Subject: [PATCH] Don't run replication on gerrit startup Full replication is very costly and makes gerrit restarts expensive these days. Turn off replicate_on_startup. Depends-On: https://review.opendev.org/678486 Change-Id: I31d81821c645697e72a8702c60e2482156e01bb0 --- modules/openstack_project/manifests/gerrit.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openstack_project/manifests/gerrit.pp b/modules/openstack_project/manifests/gerrit.pp index 50e89ee31c..72a77c86a3 100644 --- a/modules/openstack_project/manifests/gerrit.pp +++ b/modules/openstack_project/manifests/gerrit.pp @@ -184,6 +184,7 @@ class openstack_project::gerrit ( token_private_key => $token_private_key, replicate_local => $replicate_local, replicate_path => $local_git_dir, + replicate_on_startup => 'false', replication_force_update => $replication_force_update, replication_auto_reload => $replication_auto_reload, replication => $replication,