diff options
author | Han Zhou <hzhou8@ebay.com> | 2019-08-19 09:30:00 -0700 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-08-21 11:30:08 -0700 |
commit | 8e35461419a63fc5ca1e492994d08c02295137e1 (patch) | |
tree | e6d5ad83245237d78a1cf139eae9d74eda3010d9 /ovsdb/transaction.h | |
parent | 923f01cad678228224ae4fe86466e2f61ab2c9d0 (diff) | |
download | openvswitch-8e35461419a63fc5ca1e492994d08c02295137e1.tar.gz |
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@ebay.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/transaction.h')
0 files changed, 0 insertions, 0 deletions