]> git.proxmox.com Git - ovs.git/commit
raft: Unset leader when starting election.
authorHan Zhou <hzhou@ovn.org>
Fri, 6 Mar 2020 07:48:46 +0000 (23:48 -0800)
committerBen Pfaff <blp@ovn.org>
Fri, 6 Mar 2020 22:32:34 +0000 (14:32 -0800)
commitcdae6100f89d04c5c29dc86a490b936a204622b7
treecc7cb2f3e5d5697a782211f2b6049b78a8a88700
parent93ee420935547da00de54d70efe4f4f02a36e8b3
raft: Unset leader when starting election.

During election, there shouldn't be any leader. This change makes sure
that a server in candidate role always report leader as "unknown".

Signed-off-by: Han Zhou <hzhou@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ovsdb/raft.c