mbox series

[ovs-dev,00/13] OVSDB log enhancements

Message ID 20171208001240.25829-1-blp@ovn.org
Headers show
Series OVSDB log enhancements | expand

Message

Ben Pfaff Dec. 8, 2017, 12:12 a.m. UTC
These commits are prerequisites for the distributed database project
currently underway.

Ben Pfaff (13):
  log: Allow client to specify magic.
  log: Require log entries to be JSON objects.
  log: Make json parameter to ovsdb_log_write() const.
  log: Log write errors.
  log: Add new open mode OVSDB_LOG_CREATE_EXCL.
  log: Make reading in writing mode less of an error.
  log: New functions for replacing a log's contents.
  log: New function ovsdb_log_compose_record().
  log: Support using /dev/stdin for opening logs read-only.
  log: Support multiple magic.
  log: Replace ovsdb_log_get_offset() by a more abstract mechanism.
  log: Use absolute name of log file.
  log: Add async commit support.

 ovsdb/file.c       |  33 +--
 ovsdb/log.c        | 788 +++++++++++++++++++++++++++++++++++++++++++++--------
 ovsdb/log.h        |  61 ++++-
 ovsdb/ovsdb-tool.c |  12 +-
 tests/ovsdb-log.at | 304 ++++++++++++++-------
 tests/test-ovsdb.c |  75 ++++-
 6 files changed, 1018 insertions(+), 255 deletions(-)