[ovs-git] Open vSwitch: ovsdb-idl: Fix deletion of modified row. (next)

dev at openvswitch.org dev at openvswitch.org
Fri Dec 11 21:26:47 UTC 2009

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, next has been updated
       via  1ebeed630c561949cfa86b88dc935e20d7e9fc95 (commit)
       via  ee9e92d81a85344723be3dea504af9b584c81cd3 (commit)
       via  577aebdfecb001155242aa9831613310f87ed13a (commit)
       via  b87fde85d06bae7b95caee23ae046c152729ca5e (commit)
       via  f0f54cb4dd1c4d890b6b4b9cd459c11fe880e88f (commit)
       via  524555d18bda66f4f2c4bcb7bfb83b22bf50a942 (commit)
      from  bd1b03cd02b6afec15c1d717068cbcc58402ec7a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 1ebeed630c561949cfa86b88dc935e20d7e9fc95
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1ebeed630c561949cfa86b88dc935e20d7e9fc95
Author: Ben Pfaff <blp at nicira.com>
ovsdb-idl: Fix deletion of modified row.
If the transaction modified a row and then deleted it, the IDL would
instead mistakenly leave the row entirely untouched.

This commit fixes this bug.  It needs a regression test, but this commit
does not add one.

commit ee9e92d81a85344723be3dea504af9b584c81cd3
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=ee9e92d81a85344723be3dea504af9b584c81cd3
Author: Ben Pfaff <blp at nicira.com>
ovsdb: Cleanly abort delete operations.

commit 577aebdfecb001155242aa9831613310f87ed13a
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=577aebdfecb001155242aa9831613310f87ed13a
Author: Ben Pfaff <blp at nicira.com>
ovs-vsctl: Add --dry-run option.

commit b87fde85d06bae7b95caee23ae046c152729ca5e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b87fde85d06bae7b95caee23ae046c152729ca5e
Author: Ben Pfaff <blp at nicira.com>
ovsdb-client: Add support for pretty-printing JSON in output.

commit f0f54cb4dd1c4d890b6b4b9cd459c11fe880e88f
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=f0f54cb4dd1c4d890b6b4b9cd459c11fe880e88f
Author: Ben Pfaff <blp at nicira.com>
ovsdb-idl: Fix row insertion and deletion behavior.
When the IDL was used to insert a row, but all of the new row's columns
were left at the default values, then the IDL would not insert the row at

When the IDL was used to delete one or more rows, and the transaction did
not include any update or insertion operations, the transaction was dropped

This commit fixes these two bugs.  It needs a regression test, but this
commit does not add one.

commit 524555d18bda66f4f2c4bcb7bfb83b22bf50a942
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=524555d18bda66f4f2c4bcb7bfb83b22bf50a942
Author: Ben Pfaff <blp at nicira.com>
ovs-vsctl: Initialize the database automatically.


Summary of changes:
 lib/ovsdb-idl.c              |   89 ++++++++++++++++++++++++------------------
 lib/ovsdb-idl.h              |    1 +
 ovsdb/ovsdb-client.1.in      |    9 ++++
 ovsdb/ovsdb-client.c         |   11 ++++-
 ovsdb/transaction.c          |    3 +
 tests/ovsdb-transaction.at   |   26 ++++++++++++
 utilities/ovs-vsctl.8.in     |   13 ++++++
 utilities/ovs-vsctl.c        |   33 ++++++++++++---
 xenserver/etc_init.d_vswitch |    4 +-
 9 files changed, 138 insertions(+), 51 deletions(-)

Open vSwitch

More information about the git mailing list