[ovs-git] [openvswitch/ovs] 7df2d6: ovsdb-server: Replace in-memory DB contents at raf...

Dumitru Ceara noreply at github.com
Fri Aug 7 12:56:10 UTC 2020


  Branch: refs/heads/branch-2.12
  Home:   https://github.com/openvswitch/ovs
  Commit: 7df2d672892b89b685e827cf3d0bb131ed2d24c6
      https://github.com/openvswitch/ovs/commit/7df2d672892b89b685e827cf3d0bb131ed2d24c6
  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