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
This commit is contained in:
Clark Boylan 2020-10-16 09:21:49 -07:00
parent 2927d6f59f
commit 630a4531db
1 changed files with 6 additions and 0 deletions

View File

@ -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"