From: Eric Wong Date: Mon, 21 Oct 2019 22:57:50 +0000 (+0000) Subject: v2writable: use msgmap as multi_mid queue X-Git-Tag: v1.2.0~17^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1d6e0dbc3bad19acbfd90a9841a334dcaa0e4641;hp=1d6e0dbc3bad19acbfd90a9841a334dcaa0e4641;p=public-inbox.git v2writable: use msgmap as multi_mid queue 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). ---