]> Sergey Matveev's repositories - public-inbox.git/commit
lei/store: cull redundant docids based on blob OID
authorEric Wong <e@80x24.org>
Thu, 17 Jun 2021 22:00:47 +0000 (22:00 +0000)
committerEric Wong <e@80x24.org>
Thu, 17 Jun 2021 22:34:59 +0000 (22:34 +0000)
commitd1052f03ea85d4afe19106584ed6ebd675dcead0
treeec221991d18d62a9bd3da507945d57d44e99ccd6
parent09f1fabd1b3097426734b358d7231c11ab4b8d6e
lei/store: cull redundant docids based on blob OID

I'm not sure how this happened (only once for me in March), but
it should not happen...  In any case, we'll operate on the
lowest numbered docid and cull redundant index entries when
lei/store is open for read-write.

This also fixes the normal lei/store removal path to clean up
the xref3 table (since it's not done automatically for
public-facing -eidx due to the multi-list nature of it).
lib/PublicInbox/LeiStore.pm
lib/PublicInbox/SearchIdx.pm