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

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, master has been updated
       via  705d7a393005054a78ede0394b0f7451e60136b4 (commit)
      from  d709419e9dd939f11def1aee1d87d9002df062df (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 705d7a393005054a78ede0394b0f7451e60136b4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=705d7a393005054a78ede0394b0f7451e60136b4
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(+)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list