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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user