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

Dumitru Ceara noreply at github.com
Fri Aug 7 12:57:08 UTC 2020


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