If the new snapshot received with INSTALL_SNAPSHOT request contains a different election timer value, the timer is updated, but the probe intervals for RAFT connections are not.
Fix that by updating probe intervals whenever we get election timer from the log. Fixes: 14b2b0aad7ae ("raft: Reintroduce jsonrpc inactivity probes.") Signed-off-by: Ilya Maximets <i.maxim...@ovn.org> --- ovsdb/raft.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ovsdb/raft.c b/ovsdb/raft.c index 083ebf66a..ac3d37ac4 100644 --- a/ovsdb/raft.c +++ b/ovsdb/raft.c @@ -5035,6 +5035,7 @@ raft_get_election_timer_from_log(struct raft *raft) break; } } + raft_update_probe_intervals(raft); } static void -- 2.44.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev