[ovs-git] Open vSwitch: ovs-vsctl: reconnect to the database if connection was dropped (branch-2.1)

dev at openvswitch.org dev at openvswitch.org
Wed Feb 19 22:01:31 UTC 2014

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, branch-2.1 has been updated
       via  0983dbe8e420b548272b88d2fe974f0c44019a7a (commit)
      from  f090a19fffacb067fd296c89462a417f59cd9135 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0983dbe8e420b548272b88d2fe974f0c44019a7a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=0983dbe8e420b548272b88d2fe974f0c44019a7a
Author: Ansis Atteka <aatteka at nicira.com>
ovs-vsctl: reconnect to the database if connection was dropped
If ovs-vsctl has to wait for ovs-vswitchd to reconfigure itself
according to the new database, then sometimes ovs-vsctl could
end up stuck in the event loop if OVSDB connection was dropped
while ovs-vsctl was still running.

This patch fixes this problem by letting ovs-vsctl to reconnect
to the OVSDB, if it has to wait cur_cfg field to be updated.

Issue: 1191997
Reported-by: Spiro Kourtessis <spiro at nicira.com>
Signed-Off-By: Ansis Atteka <aatteka at nicira.com>


Summary of changes:
 lib/jsonrpc.c         |    8 ++++++++
 lib/jsonrpc.h         |    1 +
 lib/ovsdb-idl.c       |    8 ++++++++
 lib/ovsdb-idl.h       |    1 +
 utilities/ovs-vsctl.c |    5 +++++
 5 files changed, 23 insertions(+)

Open vSwitch

More information about the git mailing list