[ovs-git] [openvswitch/ovs] c9c5c9: ovsdb: Fix OVSDB disconnect replication bug

GitHub noreply at github.com
Tue Aug 2 06:57:29 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: c9c5c9e201f1633d51c232a1a7c88da8859f5969
      https://github.com/openvswitch/ovs/commit/c9c5c9e201f1633d51c232a1a7c88da8859f5969
  Author: Mario Cabrera <mario.cabrera at hpe.com>
  Date:   2016-08-01 (Mon, 01 Aug 2016)

  Changed paths:
    M ovsdb/ovsdb-server.c
    M ovsdb/replication.c
    M ovsdb/replication.h

  Log Message:
  -----------
  ovsdb: Fix OVSDB disconnect replication bug

Currently disconnecting from the replicator server means closing the
jsonrpc connection and destroying the monitored table names and
blacklisted table names.

This patch makes a distinction between disconnecting from the
remote server, applicable when the replication incurs in an error,
and destroying the remote server info, applicable when ovsdb-server
exits gracefully.

Signed-off-by: Mario Cabrera <mario.cabrera at hpe.com>




More information about the git mailing list