Hi, The replication_init() function initializes the set that contains the names of the tables to be monitored and the set that contains the names of the tables to be excluded from replication. When using the -sync-from option is not necessary to call this function since the sets are initialized by default. Since with ovs-appctl the replication can be configured after a disconnection, i.e. ovsdb-server/disconnect-remote-server, a command that destroys both sets, it's necessary to initialize the sets when trying to connect to the remote server.
There is a pull request I made (https://github.com/openvswitch/ovs/pull/140) that I think would made the replication_init() function unnecessary, as well as solve a bug in which ovsdb-server crashes when executing the disconnect command multiple times. Having said that, I'm not sure why the test you are referring to is failing. Thanks, -Mario From: Paul Boca [mailto:pb...@cloudbasesolutions.com] Sent: Monday, August 1, 2016 2:43 AM To: Cabrera Vega, Mario Alberto <mario.cabr...@hpe.com> Cc: dev@openvswitch.org Subject: Replication feature bug Hi! Recently on OVS master the test "ovsdb-server/get-remote-ovsdb-server" was added and on Windows (x64 Debug build) it is failing. I found that the replication module is not initialized if the ovsdb-server is started with --sync-from option: https://github.com/openvswitch/ovs/blob/master/ovsdb/ovsdb-server.c#L1451 If the replication is set using ovs-appctl, the replication is correctly initialized: https://github.com/openvswitch/ovs/blob/0cedc9dbc1e4d40f975617ccf4b63cb594783443/ovsdb/ovsdb-server.c#L1073 Thanks, Paul Boca _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev