]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
doveadm: Add dsync_features=no-header-hashes
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 19 May 2022 09:24:23 +0000 (11:24 +0200)
committerMarkus Valentin <markus.valentin@open-xchange.com>
Fri, 20 May 2022 08:41:25 +0000 (10:41 +0200)
commit9708531c0428634045ae28f28e46d41bab914e40
tree7df8de935e00d944e5ff3f2dc15c38eddbf7612d
parent30e69471792aec818dbbfa64adb868db14a6d8e2
doveadm: Add dsync_features=no-header-hashes

When this setting is enabled and one dsync side doesn't support mail GUIDs,
there is no fallback to using header hashes. Instead, dsync assumes that
all mails with identical IMAP UIDs contains the same mail contents. This
can significantly improve dsync performance with some IMAP servers that
don't support caching Date/Message-ID headers.
src/doveadm/doveadm-dsync.c
src/doveadm/doveadm-settings.c
src/doveadm/doveadm-settings.h
src/doveadm/dsync/dsync-brain-mailbox.c
src/doveadm/dsync/dsync-brain-private.h
src/doveadm/dsync/dsync-brain.c
src/doveadm/dsync/dsync-brain.h
src/doveadm/dsync/dsync-mailbox-import.c
src/doveadm/dsync/dsync-mailbox-import.h