[ovs-git] [openvswitch/ovs] 2a9679: ovsdb-server: drop all connections on read/write s...

Daniel Alvarez noreply at github.com
Wed Jul 10 20:06:20 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2a9679e3b2c6fde74ddae362d88ba16db7fbfc38
  Author: Daniel Alvarez <dalvarez at redhat.com>
  Date:   2019-07-10 (Wed, 10 Jul 2019)

  Changed paths:
    M ovsdb/jsonrpc-server.c
    M tests/ovn.at

  Log Message:
  ovsdb-server: drop all connections on read/write status change

Prior to this patch, only db change aware connections were dropped
on a read/write status change. However, current schema in OVN does
not allow clients to monitor whether a particular DB changes this
status. In order to accomplish this, we'd need to change the schema
and adapting ovsdb-server and existing clients.

Before tackling that, this patch is changing ovsdb-server to drop
*all* the existing connections upon a read/write status change. This
will force clients to reconnect and honor the change.

Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2019-July/048981.html
Signed-off-by: Daniel Alvarez <dalvarez at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list