]> Sergey Matveev's repositories - public-inbox.git/commit
searchidx: store the primary MID in doc data for NNTP
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sat, 3 Mar 2018 20:21:05 +0000 (20:21 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Sat, 3 Mar 2018 20:24:43 +0000 (20:24 +0000)
commit031dcde21cd8dab5494d9715ba50d6a539e3fb42
tree172df048191ee4cb07388f8d0b2a1e7246552667
parentb212aee7e13c460b73a3632458ae96c39d9eac97
searchidx: store the primary MID in doc data for NNTP

We can't rely on header order for Message-ID after all
since we fall back to existing MIDs if they exist and
are unseen.  This lets us use SearchMsg->mid to get the
MID we associated with the NNTP article number to ensure
all NNTP article lookups roundtrip correctly.
lib/PublicInbox/SearchIdx.pm
lib/PublicInbox/SearchIdxPart.pm
lib/PublicInbox/SearchMsg.pm
lib/PublicInbox/V2Writable.pm
t/search-thr-index.t
t/v2writable.t