From b39a4f7c780faa6fa16e939315482c2e3661c309 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Tue, 9 Aug 2016 21:02:44 -0400 Subject: [PATCH] Update old_version after timeout On a low update rate master, if we don't update old_version after processing a poll timeout, we will generate spurious warnings about missed (change) signals every time the timer expires, and will needlessly contact the slaves. --- lib/kadm5/ipropd_master.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/kadm5/ipropd_master.c b/lib/kadm5/ipropd_master.c index 23bbc8d15..755942649 100644 --- a/lib/kadm5/ipropd_master.c +++ b/lib/kadm5/ipropd_master.c @@ -1298,6 +1298,7 @@ main(int argc, char **argv) send_diffs (server_context, p, log_fd, database, current_version, current_tstamp); } + old_version = current_version; } }