> -----Original Message-----
> From: [email protected] [mailto:ovs-dev-
> [email protected]] On Behalf Of Ben Pfaff
> Sent: Friday, December 8, 2017 11:25 PM
> To: [email protected]
> Cc: Ben Pfaff <[email protected]>
> Subject: [ovs-dev] [PATCH 5/5] ovsdb-idl: Tolerate initialization races for
> singleton tables.
> 
> By verifying that singleton tables (that is, tables that should have exactly 
> one
> row) are empty when they emit transactions that insert into them, ovs-vsctl
> and similar tools tolerate initialization races, where more than one client 
> at a
> time tries to initialize a singleton table.
> 
> The upshot is that if you create a database and then run multiple ovs-vsctl
> (etc.) commands against it in parallel (without first initializing it 
> serially), then
> without this patch sometimes you will sometimes get failures but this patch
> avoids them.
> 
> Signed-off-by: Ben Pfaff <[email protected]>
> ---
I ran some tests and all the unit tests. Seems ok to me.

Acked-by: Alin Gabriel Serdean <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to