]> Sergey Matveev's repositories - public-inbox.git/commitdiff
v2writable: use msgmap as multi_mid queue
authorEric Wong <e@80x24.org>
Mon, 21 Oct 2019 22:57:50 +0000 (22:57 +0000)
committerEric Wong <e@80x24.org>
Tue, 22 Oct 2019 01:27:30 +0000 (01:27 +0000)
Instead of storing Message-IDs in the Msgmap object, we can
store the blob OID.

For initial indexing of mirrors, this lets us preserve
$sync->{regen} by storing the intended article number in
the queue.

On --reindex, the article number we store in Msgmap is ignored
but only used for ordering purposes.

This also allows us to avoid ENOMEM errors if somebody abuses
our system by reusing Message-IDs; but we now risk ENOSPC
instead (but systems tend to have more FS storage than RAM).


No differences found