[ovs-dev] [PATCH v2] ovsdb: Fix database compaction check

Daniel Alvarez dalvarez at redhat.com
Thu Mar 15 09:11:09 UTC 2018


Thanks Ben!
Sorry for the confusion with the previous version,  I forgot to commit the changes and sent the wrong version. 

> On 14 Mar 2018, at 23:21, Ben Pfaff <blp at ovn.org> wrote:
> 
>> On Sat, Mar 10, 2018 at 02:50:14PM +0100, Daniel Alvarez wrote:
>> 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>
> 
> OK, v2 is much better.  Applied to master, thanks!


More information about the dev mailing list