From 84304cae9fe7c8465e57d057bb9ee63d79997a72 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 20 Sep 2013 10:12:24 +0300 Subject: [PATCH] director: Directors weren't always marked as restarted when they were. --- src/director/director-connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/director/director-connection.c b/src/director/director-connection.c index fe902c235f..36e2b41e25 100644 --- a/src/director/director-connection.c +++ b/src/director/director-connection.c @@ -644,8 +644,8 @@ static bool director_cmd_director(struct director_connection *conn, /* 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; } -- 2.47.3