dovecot-2.2: director: Directors weren't always marked as restar...

dovecot at dovecot.org dovecot at dovecot.org
Fri Sep 20 10:12:38 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/b78c705bbb8d
changeset: 16788:b78c705bbb8d
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Sep 20 10:12:24 2013 +0300
description:
director: Directors weren't always marked as restarted when they were.

diffstat:

 src/director/director-connection.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 22a3ef9a006d -r b78c705bbb8d src/director/director-connection.c
--- a/src/director/director-connection.c	Fri Sep 20 10:11:45 2013 +0300
+++ b/src/director/director-connection.c	Fri Sep 20 10:12:24 2013 +0300
@@ -644,8 +644,8 @@
 		/* already have this. just reset its last_network_failure
 		   timestamp, since it might be up now. */
 		host->last_network_failure = 0;
-		if (host->last_seq != 0) {
-			/* it also may have been restarted, reset last_seq */
+		if (host->last_seq != 0 || host->last_sync_seq != 0) {
+			/* it also may have been restarted, reset its state */
 			director_host_restarted(host);
 			forward = TRUE;
 		}


More information about the dovecot-cvs mailing list