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

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


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