First two patches are bug fixes for existing problems. The last two are new features for relay model: support for transaction history, i.e. fast re-sync on re-connection, and a performance optimization.
Not adding separate test cases for bug fixes, because they are covered by the test in patch #3 and current testing tools does not allow to test ovsdb-cs directly. The test in patch #3 is actually how I found these issues in the first place. Note for the future work: Since ovsdb-cs is a separate module now, it should be possible to write a series of tests specifically for that module. That should allow more granular and thorough testing, but will require writing some new testing tools or improving the current ones, which are idl-based (test-ovsdb) or fully custom (ovsdb-client). For now we're testing ovsdb-cs indirectly through the idl and relay. Ilya Maximets (4): ovsdb-cs: Fix ignoring of the last id from the initial monitor reply. ovsdb: transaction: Keep one entry in the transaction history. ovsdb: relay: Add transaction history support. ovsdb: row: Optimize row updates by applying diffs in-place. NEWS | 3 +++ lib/ovsdb-cs.c | 4 +-- lib/ovsdb-cs.h | 1 + ovsdb/ovsdb-server.c | 8 +++--- ovsdb/relay.c | 28 ++++++++++++++++---- ovsdb/row.c | 16 ++++-------- ovsdb/transaction.c | 15 ++++++----- tests/ovsdb-server.at | 60 +++++++++++++++++++++++++++++-------------- 8 files changed, 89 insertions(+), 46 deletions(-) -- 2.31.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
