[ovs-git] [openvswitch/ovs] d63f90: ovsdb raft: Support leader election time change on...

Han Zhou noreply at github.com
Wed Aug 21 20:48:47 UTC 2019


  Branch: refs/heads/branch-2.12
  Home:   https://github.com/openvswitch/ovs
  Commit: d63f90dbe4770ffe245b93f816a2e7a4df76c4ed
      https://github.com/openvswitch/ovs/commit/d63f90dbe4770ffe245b93f816a2e7a4df76c4ed
  Author: Han Zhou <hzhou8 at ebay.com>
  Date:   2019-08-21 (Wed, 21 Aug 2019)

  Changed paths:
    M Documentation/ref/ovsdb.5.rst
    M ovsdb/ovsdb-server.1.in
    M ovsdb/raft-private.c
    M ovsdb/raft-private.h
    M ovsdb/raft-rpc.h
    M ovsdb/raft.c
    M tests/ovsdb-cluster.at

  Log Message:
  -----------
  ovsdb raft: Support leader election time change online.

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 <hzhou8 at ebay.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list