We're going to need copydatabase, too
the "overview" DB also exists in the xapian directory for v1
repositories. See L<public-inbox-v2-format(5)/OVERVIEW DB>
+Our use of the L</OVERVIEW DB> requires Xapian document IDs to
+remain stable. Thus, use of L<xapian-compact(1)> and
+L<copydatabase(8)> require the use of C<--no-renumber> switch.
+
=item $GIT_DIR/ssoma.index
This file is no longer used or created by public-inbox, but it is
large mail archives; but are fine for backup and usable for
small instances.
+Our use of the L</OVERVIEW DB> requires Xapian document IDs to
+remain stable. Thus, use of L<xapian-compact(1)> and
+L<copydatabase(8)> require the use of C<--no-renumber> switch.
+
=head2 OVERVIEW DB
Towards the end of v2 development, it became apparent Xapian did
$im->lock_release;
remove_tree("$old/old") or die "failed to remove $old/old: $!\n";
}
+
+# we rely on --no-renumber to keep docids synched to NNTP
my @compact = qw(xapian-compact --no-renumber);
if ($v == 2) {
require PublicInbox::V2Writable;