[ovs-dev] [PATCH] ovsdb raft: Fix election timer parsing in snapshot RPC.

Ben Pfaff blp at ovn.org
Thu Nov 21 18:54:07 UTC 2019


On Wed, Nov 13, 2019 at 09:33:59AM -0800, Han Zhou wrote:
> Commit a76ba825 took care of saving and restoring election timer in
> file header snapshot, but it didn't handle the parsing of election
> timer in install_snapshot_request/reply RPC, which results in problems,
> e.g. when election timer change log is compacted in snapshot and then a
> new node join the cluster, the new node will use the default timer
> instead of the new value.  This patch fixed it by parsing election
> timer in snapshot RPC.
> 
> At the same time the patch updates the test case to cover the DB compact and
> join senario. The test reveals another 2 problems related to clustered DB
> compact, as commented in the test case's XXX, which need to be addressed
> separately.
> 
> Signed-off-by: Han Zhou <hzhou at ovn.org>

I applied this to master.  Thank you!


More information about the dev mailing list