From 8ffed15abbec68463ff3f3105d6651c8a4b5d813 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 9 Oct 2021 05:04:41 -0700 Subject: extindex: support --reindex --fast This mode only checks history for missed/stale messages and doesn't attempt to reindex messages which are already indexed. --- Documentation/public-inbox-extindex.pod | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'Documentation/public-inbox-extindex.pod') diff --git a/Documentation/public-inbox-extindex.pod b/Documentation/public-inbox-extindex.pod index 2e2e6383..a0fca83c 100644 --- a/Documentation/public-inbox-extindex.pod +++ b/Documentation/public-inbox-extindex.pod @@ -40,6 +40,28 @@ C set to C and their respective Xapian public-inboxes where cross-posting is common, this allows significant space savings on Xapian indices. +=item --gc + +Perform garbage collection instead of indexing. Use this if +inboxes are removed from the extindex, or if messages are +purged or removed from some inboxes. + +=item --reindex + +Forces a re-index of all messages in the extindex. This can be +used for in-place upgrades and bugfixes while read-only server +processes are utilizing the index. Keep in mind this roughly +doubles the size of the already-large Xapian database. + +The extindex locks will be released roughly every 10s to +allow L and L +processes to write to the extindex. + +=item --fast + +Used with C<--reindex>, it will only look for new and stale +entries and not touch already-indexed messages. + =back =head1 FILES -- cgit v1.2.3-24-ge0c7