]> Sergey Matveev's repositories - public-inbox.git/commit
v2writable: reindex handles 3-headered monsters
authorEric Wong <e@80x24.org>
Sun, 20 Oct 2019 22:05:05 +0000 (22:05 +0000)
committerEric Wong <e@80x24.org>
Mon, 21 Oct 2019 10:50:31 +0000 (10:50 +0000)
commit8742421ba3503e1865b9f1a2561318e3a58c4b3c
tree7149f9373dfff45ce58d643c1ef89918da9a34ba
parente4be18b4f9b39aa58bebdbe00f0f7c8a65f1f82d
v2writable: reindex handles 3-headered monsters

And maybe 8-headered ones, too...

I noticed --reindex failing on the linux-renesas-soc mirror due
one 3-headed monster of a message having 3 sets of headers;
while another normal message had a Message-ID that matched one
of the 3 IDs of the 3-headed monster.

We still try to do the majority of indexing backwards, but we
defer indexing multi-Message-ID'd messages until the end to
ensure we get all the "good" messages in before we process the
multi-headered ones.

Link: https://public-inbox.org/meta/20191016211415.GA6084@dcvr/
TODO
lib/PublicInbox/OverIdx.pm
lib/PublicInbox/V2Writable.pm
t/v2reindex.t