]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
dsync: If modseqs aren't permanent, assume HIGHESTMODSEQ=0
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 21 Feb 2022 22:07:11 +0000 (23:07 +0100)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 28 Feb 2022 13:47:54 +0000 (15:47 +0200)
commit8bc0825d97e94ad744c161dacc2fa15f7f3c14c5
tree07e1971d842c4e3a3f5df91d43160d32682d3d50
parent9da4834ad01cfb0d96eb290c3a6909ee4fbe3a80
dsync: If modseqs aren't permanent, assume HIGHESTMODSEQ=0

Otherwise the HIGHESTMODSEQ is just whatever happens to be in the in-memory
view of the index, which most likely isn't the true HIGHESTMODSEQ. Using 0
makes it clear that the HIGHESTMODSEQ isn't valid and can't be used.
src/doveadm/dsync/dsync-brain-mailbox.c
src/doveadm/dsync/dsync-mailbox-import.c