summaryrefslogtreecommitdiffstats
path: root/tools/maven/gerrit-war_pom.xml
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2020-05-04 17:50:49 +0100
committerDavid Ostrovsky <david@ostrovsky.org>2020-05-08 00:41:58 +0200
commitbb0b777254db38396df5ded9c2fe634be70308d1 (patch)
tree571b7ee510c478675cbc02dee8cedef3bfc8d23f /tools/maven/gerrit-war_pom.xml
parent37982b0c9227218a1f1898c60b945546d437aa96 (diff)
Avoid auto-reindex of projects during init when unneeded
The forced reindex is not needed when the project index is present. Preserve the automatic reindex of projects for new sites and defer to reindex site program or online reindexing if project index already exists. The check is implemented in index backend agnostic manner, so that it should work for both supported backends: Lucene and Elasticsearch. It should also work independently whether or not a project index schema migration is needed during upgrade. Reindexing projects is a very expensive operation and can turn a simple upgrade to a long and painful operation because of the increase of the migration time and the amount of memory needed. Bug: Issue 12680 Change-Id: I3a4f1d07405f7bb631467d1f005d48cb56ee867f
Diffstat (limited to 'tools/maven/gerrit-war_pom.xml')
0 files changed, 0 insertions, 0 deletions