[ovs-dev] [PATCH v2] ovsdb-tool: add db-set-election-timer command for clustered databases

Dan Williams dcbw at redhat.com
Mon May 24 19:59:58 UTC 2021


On Mon, 2021-05-24 at 10:49 -0700, Ben Pfaff wrote:
> On Fri, May 21, 2021 at 02:25:52PM -0500, Dan Williams wrote:
> > After creating the new cluster database write a raft entry that
> > sets the desired election timer. This allows CMSes to set the
> > election timer at cluster start and avoid an error-prone
> > election timer modification process after the cluster is up.
> > 
> > Reported-at: https://bugzilla.redhat.com/1831778
> > 
> > Signed-off-by: Dan Williams <dcbw at redhat.com>
> > ---
> > v2:
> > - Address Ben's comments; add --help and manpage docs
> > - Write raft record directly instead of using private raft.c
> > functions
> 
> Hmm, I don't think this change was what I asked for.  I asked for a
> new
> option, like "--election-timer=TIMEOUT create-cluster DB CONTENTS
> LOCAL".  Then, if we add some other new option later, we can type
> "--foobar-option=QUUXWAG create-cluster DB CONTENTS LOCAL", and so
> on.
> This adds a new command, which is quite different.

Aha, then I completely misunderstood you. Will do v3.

Thanks,
Dan



More information about the dev mailing list