On Tue, Sep 21, 2021 at 11:08 AM Zhen Wang <[email protected]> wrote:
>
> From: zhen wang <[email protected]>
>
> When ovn-northd work in HA mode, ovn-northd will not update the
> probe interval in standby mode. If SB/NB raft leader and active
> ovn-northd instance got killed by system power outage, standby
> ovn-northd instance would never detect the failure.
> This patch address the problem by updating the probe value in main loop.
>
> Signed-off-by: zhen wang <[email protected]>
Thanks Zhen. I applied this fix to master, branch-21.09, 21.06 and 21.03.
For master and branch-21.09, I made a minor adjustment to the commit
message:
When ovn-northd work in HA mode, ovn-northd will not update the
probe interval in standby mode. This patch address the problem by
updating the probe value in main loop.
I removed the sentence that describes the HA impact because on branch-21.09
and master after the commit 520d5ceda3 that split northd.c, the behavior
changed. Although standby still won't get the probe interval updated, the
impact is different because the probe interval for standby won't be 0 (but
instead it will be the default 5s). The HA impact is valid for older
branches so I kept the message as is for them. Regardless of the commit
message, the actual fixes are essentially the same for all branches.
Thanks,
Han
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev