Mercurial > dovecot > core-2.2
changeset 11758:2060d3d08702 HEAD
director: Avoid "Received SYNC while already synced" error.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 08 Jul 2010 14:59:51 +0100 |
parents | ea4701f11668 |
children | 065c414a5c07 |
files | src/director/director-connection.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/director/director-connection.c Thu Jul 08 13:58:35 2010 +0100 +++ b/src/director/director-connection.c Thu Jul 08 14:59:51 2010 +0100 @@ -492,6 +492,7 @@ /* we're connected to both directors. see if the ring is finished by sending a SYNC. if we get it back, it's done. */ dir->sync_seq++; + dir->ring_synced = FALSE; director_connection_send(dir->right, t_strdup_printf("SYNC\t%s\t%u\t%u\n", net_ip2addr(&dir->self_ip),