From 630a4531dbec8c04b0ffcf971e54568b6048ec7b Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 16 Oct 2020 09:21:49 -0700 Subject: [PATCH] Add additional post project rename reindexing If we update group names we should reindex the groups index and I think that if we update project ACLs we should reindex the project index. Add these reindexes to the post rename reindexing list. Both should be cheap compared to the changes reindex. Change-Id: I7f855c5ad52c072f77d109ae372d93f3fc49c784 --- playbooks/rename_repos.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/rename_repos.yaml b/playbooks/rename_repos.yaml index 93c4bd2c73..0dcf503fbd 100644 --- a/playbooks/rename_repos.yaml +++ b/playbooks/rename_repos.yaml @@ -141,5 +141,11 @@ - name: Start online reindex of accounts shell: "{{ gerrit_ssh_command }} index start accounts --force" + - name: Start online reindex of groups + shell: "{{ gerrit_ssh_command }} index start groups --force" + + - name: Start online reindex of projects + shell: "{{ gerrit_ssh_command }} index start projects --force" + - name: Start online reindex of changes shell: "{{ gerrit_ssh_command }} index start changes --force"