mbox series

[ovs-dev,v4,0/2] ovsdb-idl: Address missing table and column issues.

Message ID 20210825031234.3163243-1-numans@ovn.org
Headers show
Series ovsdb-idl: Address missing table and column issues. | expand

Message

Numan Siddique Aug. 25, 2021, 3:12 a.m. UTC
From: Numan Siddique <nusiddiq@redhat.com>

This patch series addresses the transaction issues seen when
the C IDL client is running compiled with newer schema and ovsdb-server
is still running with older schema.

Patch 1: Adds the API to query for table and column names.
Patch 2: Addresses the transaction issues.

v3 -> v4
------
  * Addressed the review comment from Ilya for patch 2.
    ovsdb_idl_txn_insert() will not return NULL for missing tables.
 
v2 -> v3
------
  * Patch 2 is added in v3.
  * Patch 1 implementation in v2 was wrong.  This patch fixes it and
    enhances the test cases.

v1 -> v2
------
  * Added the test cases.



Numan Siddique (2):
  ovsdb-idl : Add APIs to query if a table and a column is present or
    not.
  ovsdb-idl: Exclude missing tables and columns in the transaction.

 lib/ovsdb-idl-provider.h |   4 ++
 lib/ovsdb-idl.c          |  52 ++++++++++++++++
 lib/ovsdb-idl.h          |   3 +
 tests/idltest.ovsschema  |   9 +++
 tests/idltest2.ovsschema |   7 +++
 tests/ovsdb-idl.at       |  75 +++++++++++++++++++++++
 tests/test-ovsdb.c       | 126 +++++++++++++++++++++++++++++++++++++++
 7 files changed, 276 insertions(+)