[ovs-dev] [PATCH] ovsdb raft: Configurable leader timeout.

Ben Pfaff blp at ovn.org
Wed Mar 20 18:33:30 UTC 2019


On Wed, Mar 20, 2019 at 11:27:43AM -0700, Han Zhou wrote:
> On Wed, Mar 20, 2019 at 11:19 AM Ben Pfaff <blp at ovn.org> wrote:
> >
> > On Mon, Mar 18, 2019 at 07:38:48PM -0700, Han Zhou wrote:
> > > From: Han Zhou <hzhou8 at ebay.com>
> > >
> > > Add option --leader-timeout to ovsdb-server.
> > >
> > > Signed-off-by: Han Zhou <hzhou8 at ebay.com>
> > > ---
> > >
> > > Notes:
> > >     This patch is on top of:
> > >     https://mail.openvswitch.org/pipermail/ovs-dev/2019-March/357339.html
> >
> > It seems like a reasonable idea to make this configurable.
> >
> > I am not sure that this is the right way to configure it.  It might be
> > better as part of the Raft storage data structures, the ones that are
> > stored on disk with database itself.  This could be especially important
> > if a given ovsdb-server serves more than one clustered database, if it's
> > possible that different databases have different settings.
> >
> Thanks for the suggestion. I will try to change it to disk storage. If
> so, is ovsdb-tool supposed to be used to configure/change the value?

I guess that ovsdb-tool would be the way to initially configure the
value when the db is first created.  After that, changes would require
consensus, so that would be a job for ovsdb-client.


More information about the dev mailing list