summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2014-03-14 16:13:56 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2014-03-14 16:24:14 +0900
commit3cd6de0d6afda8324c4fef44434dc2d25ed181c1 (patch)
tree050887be2b26a324ef827f8445fd655a5b4bc2c9
parent50d79c62036a849b226f217eb3a58b6a26b2231f (diff)
Add clarification about commitWithin setting and reindex
If the commitWithin setting is low, it can cause the reindex to run slowly. Add a note in the documentation about this. Change-Id: If4c394443bde89be4bfc1505d33322089e671493
-rw-r--r--Documentation/config-gerrit.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt
index 66f9d82cfd..be6efc6e2a 100644
--- a/Documentation/config-gerrit.txt
+++ b/Documentation/config-gerrit.txt
@@ -1892,6 +1892,12 @@ If zero or negative, changes are committed after every write. This is
very costly but may be useful if offline reindexing is infeasible, or
for development servers.
+
+This setting also applies when running the reindex program. If it is
+configured to commit on every write, this will cause reindex to take
+an unnecessarily long time to complete on sites that have a lot of
+changes. It is recommended to temporarily set a higher value while
+running reindex.
+
Defaults to 300000 ms (5 minutes).
Sample index configuration: