[ovs-dev] [PATCH v4] ovsdb replication: Provide option to configure probe interval.
Numan Siddique
numans at ovn.org
Tue Jan 7 02:22:37 UTC 2020
On Tue, Jan 7, 2020 at 4:12 AM Ben Pfaff <blp at ovn.org> wrote:
>
> On Fri, Dec 20, 2019 at 06:43:52PM +0530, numans at ovn.org wrote:
> > From: Numan Siddique <numans at ovn.org>
> >
> > When ovsdb-server is in backup mode and connects to the active
> > ovsdb-server for replication, and if takes more than 5 seconds to
> > get the dump of the whole database, it will drop the connection
> > soon after as the default probe interval is 5 seconds. This
> > results in a snowball effect of reconnections to the active
> > ovsdb-server.
> >
> > This patch handles or mitigates this issue by setting the
> > default probe interval value to 60 seconds and provide the option to
> > configure this value from the unixctl command.
> >
> > Other option could be increase the value of 'RECONNECT_DEFAULT_PROBE_INTERVAL'
> > to a higher value.
> >
> > Acked-by: Mark Michelson <mmichels at redhat.com>
> > Signed-off-by: Numan Siddique <numans at ovn.org>
> > Acked-by: Dumitru Ceara <dceara at redhat.com>
>
> This patch really has two important effects. One is making the interval
> adjustable, the other is increasing the default. I think that probably
> both of these changes should get called out in NEWS.
Sure. I submitted v5 with the NEWS entry -
https://patchwork.ozlabs.org/patch/1218539/
Thanks
Numan
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>
More information about the dev
mailing list