]> Sergey Matveev's repositories - public-inbox.git/commit
xcpdb: use fine-grained locking
authorEric Wong <e@80x24.org>
Thu, 23 May 2019 09:36:52 +0000 (09:36 +0000)
committerEric Wong <e@80x24.org>
Thu, 23 May 2019 17:43:50 +0000 (17:43 +0000)
commit0c6d38221ec9fbf9d7c7e0329252b10f17ab7a27
treeec8826ca0cfa8c63a636cacc4ba35fe7e658975b
parenta1c3fb1bbef319a0af8ab63380495984c3a4ee18
xcpdb: use fine-grained locking

Copying an entire Xapian DB takes a long time, so update our
reindexing code to support partial reindexing, snapshot the
pre-copydatabase git revisions, perform the lengthy copy,
and do a partial reindex when the copy + renames are done.
lib/PublicInbox/Admin.pm
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/V2Writable.pm
lib/PublicInbox/Xapcmd.pm