]> git.proxmox.com Git - ovs.git/commit - AUTHORS
ovsdb: Fix mutation of newly inserted rows from Python IDL.
authorAmitabha Biswas <azbiswas@gmail.com>
Wed, 24 Aug 2016 05:12:30 +0000 (22:12 -0700)
committerBen Pfaff <blp@ovn.org>
Tue, 30 Aug 2016 20:25:16 +0000 (13:25 -0700)
commitb3220c677a658e3bd17978b6edf6be9b8c4d4926
treef2dec9f7f28602dfdbca00cc6d2fb008e7182329
parent58026109d5ad0914d873e57df45c5e9dcc8e68da
ovsdb: Fix mutation of newly inserted rows from Python IDL.

This patch fixes the scenario, where the mutate operation on a row
is sent in the same transaction as row insert operation. It was
obvserved that this mutate operation was not getting committed
to the OVSDB.

To get around the above problem the "where" condition in an
mutate operation is modified to use the named-uuid to identify
a row created in the current transaction.

Signed-off-by: Amitabha Biswas <abiswas@us.ibm.com>
Suggested-by: Richard Theis <rtheis@us.ibm.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
AUTHORS
python/ovs/db/idl.py
tests/ovsdb-idl.at
tests/test-ovsdb.py