]> Sergey Matveev's repositories - public-inbox.git/commit
compact: reuse infrastructure from xcpdb
authorEric Wong <e@80x24.org>
Thu, 23 May 2019 09:37:00 +0000 (09:37 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 May 2019 17:43:50 +0000 (17:43 +0000)
commitc7380dad6bb9eab26641c5ec2707431ed573de3c
tree39f97521df166ace6abb6b7140a1b6b82d1b2793
parented52051030b89985a1ec032ed4acc74912b0dd80
compact: reuse infrastructure from xcpdb

Since -xcpdb is a superset of -compact, we can reuse much of
that code used for driving compact.

For compact (only), this is slightly less memory efficient since
it requires an extra process per-partition, but we get to prefix
the output with the partition name for more readable output.
lib/PublicInbox/Xapcmd.pm
script/public-inbox-compact
script/public-inbox-xcpdb