diff options
author | Eric Wong <e@80x24.org> | 2019-06-14 16:25:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-06-14 16:25:39 +0000 |
commit | 4bb34fb8f29530f6bda5f0d563a74f6289ac312d (patch) | |
tree | fb26e006105b9e4b06cd6210412e13a3ef031f79 /script | |
parent | 3c30532aed6256a984c535530c6667552c2e6a84 (diff) | |
parent | e9eb3af852778a67533e9579b14695763535d262 (diff) | |
download | public-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 'script')
-rwxr-xr-x | script/public-inbox-xcpdb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/public-inbox-xcpdb b/script/public-inbox-xcpdb index ef64e58f..b41c683b 100755 --- a/script/public-inbox-xcpdb +++ b/script/public-inbox-xcpdb @@ -9,8 +9,8 @@ use PublicInbox::Admin; PublicInbox::Admin::require_or_die('-search'); my $usage = "Usage: public-inbox-xcpdb [--compact] INBOX_DIR\n"; my $opt = {}; -GetOptions($opt, qw(compact), @PublicInbox::Xapcmd::COMPACT_OPT) or - die "bad command-line args\n$usage"; +my @opt = (qw(compact reshard|R=i), @PublicInbox::Xapcmd::COMPACT_OPT); +GetOptions($opt, @opt) or die "bad command-line args\n$usage"; my @ibxs = PublicInbox::Admin::resolve_inboxes(\@ARGV) or die $usage; foreach (@ibxs) { my $ibx = PublicInbox::InboxWritable->new($_); |