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

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


  Branch: refs/heads/branch-2.6
  Home:   https://github.com/openvswitch/ovs
  Commit: 903ba94065791ccaff69e25fc11a9bf116250c7c
      https://github.com/openvswitch/ovs/commit/903ba94065791ccaff69e25fc11a9bf116250c7c
  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