about summary refs log tree commit homepage
path: root/lib/PublicInbox/Git.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-10-21 22:57:50 +0000
committerEric Wong <e@80x24.org>2019-10-22 01:27:30 +0000
commit1d6e0dbc3bad19acbfd90a9841a334dcaa0e4641 (patch)
treea5820e288ae1ef5069ab97ce37df177ef137b5d3 /lib/PublicInbox/Git.pm
parent96a8b8832d791d53e05f235b5bc2492daab5f60a (diff)
downloadpublic-inbox-1d6e0dbc3bad19acbfd90a9841a334dcaa0e4641.tar.gz
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).
Diffstat (limited to 'lib/PublicInbox/Git.pm')
0 files changed, 0 insertions, 0 deletions