cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darren Shepherd <darren.s.sheph...@gmail.com>
Subject Re: DatabaseUpgradeChecker and running from eclipse
Date Thu, 19 Sep 2013 17:10:59 GMT
So I just looked at DatabaseCreator and noticed it calls
PremiumDatabaseUpgradeChecker, but on startup we call
DatabaseUpgradeChecker.  What is this madness?  Why are there two db
upgrade classes?

Darren


On Thu, Sep 19, 2013 at 10:04 AM, Alex Huang <Alex.Huang@citrix.com> wrote:

> Around 4.1 timeframe, Rohit added DatabaseCreator to call
> DatabaseUpgradeChecker to create and upgrade the database but forgot to
> remove it from the server configuration.  We should simply add a
> DatabaseVesionChecker for the server configuration to check if the database
> is at the version expected for the code.  That was supposed to happen in
> 4.2 but never happened.  It might be a good time to add that in now.
>
> --Alex
>
> > -----Original Message-----
> > From: Daan Hoogland [mailto:daan.hoogland@gmail.com]
> > Sent: Thursday, September 19, 2013 9:35 AM
> > To: dev
> > Subject: Re: DatabaseUpgradeChecker and running from eclipse
> >
> > On Thu, Sep 19, 2013 at 6:12 PM, Darren Shepherd
> > <darren.s.shepherd@gmail.com> wrote:
> > > Only to test builds before commit.  mvn is too slow.
> >
> > That's probably it. I run from eclipse but usually do a build first.
> > That is going to change one minute ago, thanks. i'll keep an eye on the
> > dbupgradechecker
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message