[ovs-git] [openvswitch/ovs] f2cf66: ovsdb-server: Replace in-memory DB contents at raf...
Dumitru Ceara
noreply at github.com
Fri Aug 7 12:58:05 UTC 2020
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: f2cf667730c980e3343228b0e44b6e3ca8538964
https://github.com/openvswitch/ovs/commit/f2cf667730c980e3343228b0e44b6e3ca8538964
Author: Dumitru Ceara <dceara at redhat.com>
Date: 2020-08-06 (Thu, 06 Aug 2020)
Changed paths:
M ovsdb/ovsdb-server.c
M tests/idltest.ovsschema
M tests/ovsdb-cluster.at
M tests/ovsdb-idl.at
Log Message:
-----------
ovsdb-server: Replace in-memory DB contents at raft install_snapshot.
Every time a follower has to install a snapshot received from the
leader, it should also replace the data in memory. Right now this only
happens when snapshots are installed that also change the schema.
This can lead to inconsistent DB data on follower nodes and the snapshot
may fail to get applied.
Fixes: bda1f6b60588 ("ovsdb-server: Don't disconnect clients after raft install_snapshot.")
Acked-by: Han Zhou <hzhou at ovn.org>
Signed-off-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
More information about the git
mailing list