]> Sergey Matveev's repositories - public-inbox.git/commit
index|extindex: support --dangerous flag
authorEric Wong <e@80x24.org>
Mon, 7 Mar 2022 10:57:37 +0000 (10:57 +0000)
committerEric Wong <e@80x24.org>
Tue, 8 Mar 2022 00:30:03 +0000 (00:30 +0000)
commit3eec2f7792040f75f3988c520f308e2445baf645
treee581cdd77765c84ae870999f36193e4302f5df71
parent798bd392d273735a69f0b009e70d8bb2dbc4a7e4
index|extindex: support --dangerous flag

This enables Xapian::DB_DANGEROUS to support in-place updates.
This can speed up the initial index and reduce I/O at the cost
of preventing concurrent readers and being unsafe in the face of
any abnormal terminations.  This is more dangerous than
--no-fsync.  --no-fsync is only unsafe in the event of a power
loss or kernel crash; --dangerous is unsafe even on SIGKILL.
Documentation/public-inbox-extindex.pod
Documentation/public-inbox-index.pod
lib/PublicInbox/ExtSearchIdx.pm
lib/PublicInbox/MiscIdx.pm
lib/PublicInbox/SearchIdx.pm
script/public-inbox-extindex
script/public-inbox-index
t/extsearch.t
t/indexlevels-mirror.t