[ovs-dev] [db-backup 0/5] avoid unneeded db compaction and improve backups

Ben Pfaff blp at nicira.com
Wed Feb 9 00:00:23 UTC 2011


OVSDB has some really nice features for debugging databases, but they
only work when the database doesn't get compacted before the
investigation gets started.  Until now every restart or reboot has
compacted the database; this series of patches improves on that.

Ben Pfaff (5):
  ovs-vsctl: Improve documentation and --help output.
  ovsdb: New function ovsdb_file_read_schema() for reading schema from
    db.
  ovsdb-tool: Add commands for printing the database checksum.
  ovsdb-tool: New command "needs-conversion".
  Avoid unneeded database compaction at startup, and improve backups.

 debian/openvswitch-switch.init   |   13 ++++--
 ovsdb/SPECS                      |    4 ++
 ovsdb/file.c                     |   86 +++++++++++++++++++++++++++++---------
 ovsdb/file.h                     |    6 ++-
 ovsdb/ovsdb-tool.1.in            |   38 +++++++++++-----
 ovsdb/ovsdb-tool.c               |   51 ++++++++++++++++++++--
 ovsdb/ovsdb.c                    |   35 +++++++++++++---
 ovsdb/ovsdb.h                    |    9 +++-
 tests/ovsdb-execution.at         |    3 +-
 tests/ovsdb-server.at            |    2 +-
 tests/ovsdb-tool.at              |   42 ++++++++++++++++++-
 utilities/ovs-vsctl.8.in         |    8 ++--
 utilities/ovs-vsctl.c            |   17 ++++++-
 xenserver/etc_init.d_openvswitch |   15 ++++---
 14 files changed, 261 insertions(+), 68 deletions(-)





More information about the dev mailing list