[ovs-git] [openvswitch/ovs] 69f453: ovsdb: Fix database compaction check

GitHub noreply at github.com
Wed Mar 14 22:20:43 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 69f453713459c60e5619174186f94a0975891580
      https://github.com/openvswitch/ovs/commit/69f453713459c60e5619174186f94a0975891580
  Author: Daniel Alvarez <dalvarez at redhat.com>
  Date:   2018-03-14 (Wed, 14 Mar 2018)

  Changed paths:
    M ovsdb/file.c

  Log Message:
  -----------
  ovsdb: Fix database compaction check

We want to compact database file if it has been over 24 hours since we
last compacted it and there's more than 100 commits regardless of the
size of the database. This patch fixes the previous comparisson which
checked if 24 hours was elapsed since the next scheduled compaction.

Signed-off-by: Daniel Alvarez <dalvarez at redhat.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list