On Mon, Aug 19, 2019 at 9:30 AM Han Zhou <zhou...@gmail.com> wrote:
>
> From: Han Zhou <hzh...@ebay.com>
>
> A new unixctl command cluster/change-election-timer is implemented to
> change leader election timeout base value according to the scale needs.
>
> The change takes effect upon consensus of the cluster, implemented through
> the append-request RPC.  A new field "election-timer" is added to raft log
> entry for this purpose.
>
> Signed-off-by: Han Zhou <hzh...@ebay.com>
> ---
>  Documentation/ref/ovsdb.5.rst |  32 ++++----
>  ovsdb/ovsdb-server.1.in       |  15 ++++
>  ovsdb/raft-private.c          |  10 +++
>  ovsdb/raft-private.h          |   2 +
>  ovsdb/raft-rpc.h              |   1 +
>  ovsdb/raft.c                  | 187
+++++++++++++++++++++++++++++++++++-------
>  tests/ovsdb-cluster.at        |  56 +++++++++++++
>  7 files changed, 259 insertions(+), 44 deletions(-)
>

Hi Ben,

As discussed in the meeting today, this patch has bugs and here are the
fixes:

https://patchwork.ozlabs.org/patch/1151821/
https://patchwork.ozlabs.org/patch/1151822/

Please take a look. If review passed, please back port to 2.12. Sorry for
the inconvenience.

Thanks,
Han
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to