mbox series

[ovs-dev,branch-2.13,0/4] ovsdb-idl: Preserve references for tracked deleted rows.

Message ID 20210402154605.7879.66878.stgit@dceara.remote.csb
Headers show
Series ovsdb-idl: Preserve references for tracked deleted rows. | expand

Message

Dumitru Ceara April 2, 2021, 3:46 p.m. UTC
This backports the IDL change tracking fixes recently accepted on
master branch.

The first patch is a backport of Ben's commit that introduces
print_and_log() in test-ovsdb.c.  Cherry picking this commit avoids
quite a lot of the conflicts when backporting the rest of the fixes
and should be harmless because it only touches test code.

Ben Pfaff (1):
      test-ovsdb: Log steps in idl test.

Dumitru Ceara (3):
      ovsdb-idl.at: Make test outputs more predictable.
      ovsdb-idl: Preserve references for deleted rows.
      ovsdb-idl: Mark arc sources as updated when destination is deleted.

 lib/ovsdb-idl.c        |  135 +++++++--
 lib/ovsdb-idl.h        |    2 
 tests/ovsdb-cluster.at |    2 
 tests/ovsdb-idl.at     |  747 ++++++++++++++++++++++++++++++++----------------
 tests/test-ovsdb.c     |  442 +++++++++++++++++-----------
 tests/test-ovsdb.py    |  119 +++++---
 6 files changed, 962 insertions(+), 485 deletions(-)

Comments

Ilya Maximets April 9, 2021, 6:06 p.m. UTC | #1
On 4/2/21 5:46 PM, Dumitru Ceara wrote:
> This backports the IDL change tracking fixes recently accepted on
> master branch.
> 
> The first patch is a backport of Ben's commit that introduces
> print_and_log() in test-ovsdb.c.  Cherry picking this commit avoids
> quite a lot of the conflicts when backporting the rest of the fixes
> and should be harmless because it only touches test code.
> 
> Ben Pfaff (1):
>       test-ovsdb: Log steps in idl test.
> 
> Dumitru Ceara (3):
>       ovsdb-idl.at: Make test outputs more predictable.
>       ovsdb-idl: Preserve references for deleted rows.
>       ovsdb-idl: Mark arc sources as updated when destination is deleted.
> 
>  lib/ovsdb-idl.c        |  135 +++++++--
>  lib/ovsdb-idl.h        |    2 
>  tests/ovsdb-cluster.at |    2 
>  tests/ovsdb-idl.at     |  747 ++++++++++++++++++++++++++++++++----------------
>  tests/test-ovsdb.c     |  442 +++++++++++++++++-----------
>  tests/test-ovsdb.py    |  119 +++++---
>  6 files changed, 962 insertions(+), 485 deletions(-)
> 

Thanks!  Applied to branches 2.13 and 2.14 so we don't have a gap.

Best regards, Ilya Maiximets.