dovecot-2.1: dsync: Set user.dsyncing=TRUE also for dsync-server.

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 5 11:54:41 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/5429dac9830c
changeset: 14252:5429dac9830c
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 05 11:54:33 2012 +0200
description:
dsync: Set user.dsyncing=TRUE also for dsync-server.
This avoids dsync server immediately triggering another dsync when using
replication.

diffstat:

 src/doveadm/dsync/doveadm-dsync.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r f549cd60fec9 -r 5429dac9830c src/doveadm/dsync/doveadm-dsync.c
--- a/src/doveadm/dsync/doveadm-dsync.c	Mon Mar 05 11:53:45 2012 +0200
+++ b/src/doveadm/dsync/doveadm-dsync.c	Mon Mar 05 11:54:33 2012 +0200
@@ -561,6 +561,7 @@
 	int lock_fd, ret = 0;
 
 	user->admin = TRUE;
+	user->dsyncing = TRUE;
 
 	i_set_failure_prefix(t_strdup_printf("dsync-remote(%s): ",
 					     user->username));


More information about the dovecot-cvs mailing list