[ovs-git] [openvswitch/ovs] b3220c: ovsdb: Fix mutation of newly inserted rows from Py...

GitHub noreply at github.com
Tue Aug 30 20:25:30 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b3220c677a658e3bd17978b6edf6be9b8c4d4926
      https://github.com/openvswitch/ovs/commit/b3220c677a658e3bd17978b6edf6be9b8c4d4926
  Author: Amitabha Biswas <azbiswas at gmail.com>
  Date:   2016-08-30 (Tue, 30 Aug 2016)

  Changed paths:
    M AUTHORS
    M python/ovs/db/idl.py
    M tests/ovsdb-idl.at
    M tests/test-ovsdb.py

  Log Message:
  -----------
  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 at us.ibm.com>
Suggested-by: Richard Theis <rtheis at us.ibm.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list