]> Sergey Matveev's repositories - public-inbox.git/commit
nntpd+imapd: detect replaced over.sqlite3
authorEric Wong <e@80x24.org>
Thu, 11 Jun 2020 00:57:53 +0000 (00:57 +0000)
committerEric Wong <e@yhbt.net>
Sat, 13 Jun 2020 07:58:30 +0000 (07:58 +0000)
commit2a717d13f10fcdc69921d80cf94c47a694a175d4
tree188b2834628fd448f9397daefb4a8a77c00cdce1
parent3d52c093ad5ce7a32f8842d9ae020712f9786352
nntpd+imapd: detect replaced over.sqlite3

For v1 inboxes (and possibly v2 in the future, for VACUUM),
public-inbox-compact replaces over.sqlite3 with a new file.

This currently doesn't need an extra inotify watch descriptor
(or FD for kevent) at the moment, so it can coexist nicely for
systems w/o IO::KQueue or Linux::Inotify2.
lib/PublicInbox/Inbox.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/NNTPD.pm
lib/PublicInbox/Over.pm
t/nntpd.t