[ovs-dev] [PATCH 14/14] xenserver: Upgrade and compact database on system boot.
Ben Pfaff
blp at nicira.com
Mon Feb 15 13:05:52 PST 2010
Thank you for looking at all of this and especially for the comments. I
pushed out this set.
On Fri, Feb 12, 2010 at 06:48:08PM -0500, Jesse Gross wrote:
> Everything else in this set looks good.
>
> On Fri, Feb 12, 2010 at 2:37 PM, Ben Pfaff <blp at nicira.com> wrote:
>
> > This should take care of many of the OVSDB-related upgrade and downgrade
> > problems reported by Nicira internal testers.
> >
> > Bug #2388.
> > ---
> > xenserver/etc_init.d_vswitch | 3 +++
> > 1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/xenserver/etc_init.d_vswitch b/xenserver/etc_init.d_vswitch
> > index 95c6b80..480f9a9 100755
> > --- a/xenserver/etc_init.d_vswitch
> > +++ b/xenserver/etc_init.d_vswitch
> > @@ -337,6 +337,9 @@ function start {
> >
> > action "Creating empty database $OVSDB_SERVER_DB" true
> > $ovsdb_tool -vANY:console:emer create "$OVSDB_SERVER_DB"
> > "$VSWITCHD_OVSDB_SCHEMA"
> > + else
> > + # Upgrade or downgrade schema and compact database.
> > + $ovsdb_tool -vANY:console:emer convert "$OVSDB_SERVER_DB"
> > "$VSWITCHD_OVSDB_SCHEMA"
> > fi
> >
> > start_ovsdb_server
> > --
> > 1.6.6.1
> >
> >
> > _______________________________________________
> > dev mailing list
> > dev at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/dev_openvswitch.org
> >
More information about the dev
mailing list