Hello, When two ovs-vsctl update map type column at same time, one ovs-vsctl's update will be discarded although all ovs-vsctl succeeded.
I attached a script that reproduce this issue. (I test it on OVS 1.10.2) This issue looks like that be resolved by attached patch. Is this fix appropriate? Thanks, Ken
db_race.sh
Description: db_race.sh
--- ovs-vsctl.c.orig 2014-01-24 02:01:34.000000000 +0900
+++ ovs-vsctl.c 2014-01-24 02:00:32.000000000 +0900
@@ -3343,6 +3343,12 @@
}
for (i = 3; i < ctx->argc; i++) {
+ const struct ovsdb_idl_column *column;
+ char *key_string, *value_string;
+ die_if_error(parse_column_key_value(ctx->argv[i], table, &column,
+ &key_string, NULL, NULL,
+ 0, &value_string));
+ ovsdb_idl_txn_verify(row, column);
set_column(table, row, ctx->argv[i], ctx->symtab);
}
_______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
