[ovs-dev] [PATCH 1/1] ovsdb: Fix ovsdb-server replication blocking bug

Cabrera Vega, Mario Alberto mario.cabrera at hpe.com
Tue Jun 28 21:50:34 UTC 2016


With this patch ovsdb-server no longer blocks waiting for the remote server
connection when doing replication.

Signed-off-by: Mario Cabrera <mario.cabrera at hpe.com>
---
ovsdb/replication.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ovsdb/replication.c b/ovsdb/replication.c
index c5b2368..8226cb9 100644
--- a/ovsdb/replication.c
+++ b/ovsdb/replication.c
@@ -216,8 +216,7 @@ open_jsonrpc(const char *server)
     struct stream *stream;
     int error;
-    error = stream_open_block(jsonrpc_stream_open(server, &stream,
-                                                  DSCP_DEFAULT), &stream);
+    error = jsonrpc_stream_open(server, &stream, DSCP_DEFAULT);
     return error ? NULL : jsonrpc_open(stream);
}
--
1.9.1



More information about the dev mailing list