]> Sergey Matveev's repositories - public-inbox.git/commit
xcpdb: support resharding v2 repos
authorEric Wong <e@80x24.org>
Thu, 13 Jun 2019 00:29:37 +0000 (00:29 +0000)
committerEric Wong <e@80x24.org>
Fri, 14 Jun 2019 01:31:25 +0000 (01:31 +0000)
commite9eb3af852778a67533e9579b14695763535d262
tree09478c84234a4a7f99def3bbae8f4f7e19c390fe
parente665a4fa317bf9ceea812bc9ca3f486ec722dfea
xcpdb: support resharding v2 repos

v2 repos are sometimes created on machines where CPU
parallelization exceeds the capability of the storage devices.

In that case, users may reshard the Xapian DB to any smaller,
positive integer to avoid excessive overhead and contention when
bottlenecked by slow storage.

Resharding can also be used to increase shard count after
hardware upgrades.
Documentation/public-inbox-xcpdb.pod
MANIFEST
lib/PublicInbox/Xapcmd.pm
script/public-inbox-xcpdb
t/xcpdb-reshard.t [new file with mode: 0644]