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

Ben Pfaff blp at ovn.org
Wed Mar 14 22:24:07 UTC 2018


On Wed, Mar 14, 2018 at 03:13:33PM -0700, Ben Pfaff wrote:
> On Sat, Mar 10, 2018 at 02:48:00PM +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>
> 
> I think I'm missing a prerequisite or maybe this has not been
> compile-tested:
> 
>     ../ovsdb/file.c:616:5: error: use of undeclared identifier 'current_time'
>     ../ovsdb/file.c:617:9: error: use of undeclared identifier 'current_time'
>     ../ovsdb/file.c:619:13: error: use of undeclared identifier 'curent_time'
> 
> ?

Oops, sorry.  I see v2 now.


More information about the dev mailing list