]> Sergey Matveev's repositories - public-inbox.git/commit
xapcmd: xcpdb supports compaction
authorEric Wong <e@80x24.org>
Thu, 23 May 2019 09:36:50 +0000 (09:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 May 2019 17:43:50 +0000 (17:43 +0000)
commit371f00f2f0698915b49599a834696c7ae3631ce7
tree9d5ac295696518cd4f665ade6f8991bafbb2f6a0
parente85404c6d681512ff013200e9936bb706facc8cb
xapcmd: xcpdb supports compaction

To minimize the delay on active inboxes, it's actually ideal to
run xapian-compact at the end of the per-partition cpdb process;
since the new DB isn't accessible yet and so we don't have to
deal with lock contention with -mda or -watch processes.  The
downside is temporary file overhead (3x instead of 2x) required.
lib/PublicInbox/Xapcmd.pm
script/public-inbox-xcpdb