Mercurial > dovecot > core-2.2
changeset 22717:e33ad4efec00
dsync: Add missing transaction flags when performing UID renumbering
The transaction didn't have MAILBOX_TRANSACTION_FLAG_SYNC or
MAILBOX_TRANSACTION_FLAG_NO_NOTIFY (with DSYNC_BRAIN_FLAG_NO_NOTIFY).
This caused replication-dsync to unnecessarily trigger another dsync
replication notification.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 09 Aug 2017 13:17:15 +0300 |
parents | 6287c6d66f56 |
children | 687aec32e0e5 |
files | src/doveadm/dsync/dsync-mailbox-import.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/dsync/dsync-mailbox-import.c Thu Dec 28 10:27:27 2017 +0200 +++ b/src/doveadm/dsync/dsync-mailbox-import.c Wed Aug 09 13:17:15 2017 +0300 @@ -2594,6 +2594,7 @@ { struct mailbox *box = importer->box; const enum mailbox_transaction_flags trans_flags = + importer->transaction_flags | MAILBOX_TRANSACTION_FLAG_EXTERNAL | MAILBOX_TRANSACTION_FLAG_ASSIGN_UIDS; struct mailbox_transaction_context *trans;