]> Sergey Matveev's repositories - public-inbox.git/commitdiff
convert: preserve highwater mark from v1 msgmap
authorEric Wong <e@yhbt.net>
Thu, 30 Jan 2020 07:51:06 +0000 (07:51 +0000)
committerEric Wong <e@yhbt.net>
Fri, 31 Jan 2020 23:00:15 +0000 (23:00 +0000)
If we're reusing the msgmap from a v1 inbox, we also need to
ensure the highwater mark doesn't get doubled in the v1->v2
conversion by internally triggering the equivalent of
"--reindex" on a fresh v2 inbox.

This was needed to convert an indexed v1 inbox which featured
messages with multiple Message-IDs in it.  Fresh, unindexed
clones of v1 inboxes would not have been affected by this.


No differences found