about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-14 16:25:39 +0000
committerEric Wong <e@80x24.org>2019-06-14 16:25:39 +0000
commit4bb34fb8f29530f6bda5f0d563a74f6289ac312d (patch)
treefb26e006105b9e4b06cd6210412e13a3ef031f79 /Documentation
parent3c30532aed6256a984c535530c6667552c2e6a84 (diff)
parente9eb3af852778a67533e9579b14695763535d262 (diff)
downloadpublic-inbox-4bb34fb8f29530f6bda5f0d563a74f6289ac312d.tar.gz
* origin/reshard:
  xcpdb: support resharding v2 repos
  xcpdb: use destination shard as progress prefix
  xapcmd: preserve indexlevel based on the destination
  v2writable: use a smaller default for Xapian partitions
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/public-inbox-xcpdb.pod11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/public-inbox-xcpdb.pod b/Documentation/public-inbox-xcpdb.pod
index a04fd374..fd8770a4 100644
--- a/Documentation/public-inbox-xcpdb.pod
+++ b/Documentation/public-inbox-xcpdb.pod
@@ -30,6 +30,17 @@ preferable for gigantic inboxes where the coarse-grained lock
 currently required for L<public-inbox-compact(1)> can cause
 the compaction to take hours at-a-time.
 
+=item --reshard=N / -R N
+
+Repartition the Xapian database on a L<v2|public-inbox-v2-format(5)>
+inbox to C<N> partitions.  Since L<xapian-compact(1)> is not suitable
+for merging, users can rely on this switch to repartition the
+existing Xapian database(s) to any positive value of C<N>.
+
+This is useful in case the Xapian DB was created with too few or
+too many partitions given the capabilities of the current
+hardware.
+
 =item --blocksize / --no-full / --fuller
 
 These options are passed directly to L<xapian-compact(1)> when