From 08610609e51d948f202fa61efcaa9b4bf5bd8787 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Sat, 19 Aug 2023 22:59:57 +0200 Subject: [PATCH] gerrit: bump index.maxTerms The default value is 1024, which causes issues for users that have starred more than that number of changes. Bump by 50% hoping that the possible performance impact will be moderate. [0] https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#index Change-Id: I0c00110cfd6ba6d235821f6a5db7e1b91e2a8945 --- playbooks/roles/gerrit/templates/gerrit.config.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/gerrit/templates/gerrit.config.j2 b/playbooks/roles/gerrit/templates/gerrit.config.j2 index cbebbaf71c..96bc022b5a 100644 --- a/playbooks/roles/gerrit/templates/gerrit.config.j2 +++ b/playbooks/roles/gerrit/templates/gerrit.config.j2 @@ -156,6 +156,7 @@ tag = ${project}/src/tag/${tag} url = https://opendev.org/ [index] + maxTerms = 1536 type = LUCENE threads = 8 [download]