You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Daan Hoogland <da...@gmail.com> on 2014/11/13 13:45:04 UTC

[QUESTION] db upgrade paths

I just cancelled the vote on 4.4.2 because I forgot about the upgrade
and didn't test properly. Then I investigated and found that for
several upgrades from prior versions to 4.4.1 where added. But also
upgrade paths end at 4.3.0. Is this right? Is there a ratio? What are
we/should we still support?

I thought no man was left behind.

-- 
Daan

Re: [QUESTION] db upgrade paths

Posted by Daan Hoogland <da...@gmail.com>.
On Thu, Nov 13, 2014 at 1:57 PM, Rohit Yadav <ro...@shapeblue.com> wrote:
> The would be simply add upgrade paths. If 4.4.2 has empty upgrade paths, create an empty upgrade path or have the Java class simply overload the Upgrade440to441 class etc. We will need to fix the same in master and 4.5 once done and if applicable.


I know, I did some more looking and found

        _upgradeMap.put("2.2.13", new DbUpgrade[] {new
Upgrade2213to2214(), new Upgrade2214to30(), new Upgrade30to301(),
            new Upgrade301to302(), new Upgrade302to40(), new
Upgrade40to41(), new Upgrade410to420(), new Upgrade420to421(), new
Upgrade421to430(), new Upgrade430to440(), new Upgrade440to441()});

        _upgradeMap.put("2.2.14", new DbUpgrade[] {new
Upgrade2214to30(), new Upgrade30to301(), new Upgrade301to302(),
            new Upgrade302to40(), new Upgrade40to41(), new
Upgrade410to420(), new Upgrade420to421(), new Upgrade421to430(), new
Upgrade430to440(), new Upgrade440to441()});

        _upgradeMap.put("2.2.13", new DbUpgrade[] {new
Upgrade2213to2214(), new Upgrade2214to30(), new Upgrade30to301(), new
Upgrade301to302(), new Upgrade302to40(),
            new Upgrade40to41(), new Upgrade410to420(), new
Upgrade420to421(), new Upgrade421to430()});

        _upgradeMap.put("2.2.14", new DbUpgrade[] {new
Upgrade2214to30(), new Upgrade30to301(), new Upgrade301to302(), new
Upgrade302to40(), new Upgrade40to41(),
            new Upgrade410to420(), new Upgrade420to421(), new
Upgrade421to430()});

-- 
Daan

Re: [QUESTION] db upgrade paths

Posted by Rohit Yadav <ro...@shapeblue.com>.
The would be simply add upgrade paths. If 4.4.2 has empty upgrade paths, create an empty upgrade path or have the Java class simply overload the Upgrade440to441 class etc. We will need to fix the same in master and 4.5 once done and if applicable.

> On 13-Nov-2014, at 6:15 pm, Daan Hoogland <da...@gmail.com> wrote:
>
> I just cancelled the vote on 4.4.2 because I forgot about the upgrade
> and didn't test properly. Then I investigated and found that for
> several upgrades from prior versions to 4.4.1 where added. But also
> upgrade paths end at 4.3.0. Is this right? Is there a ratio? What are
> we/should we still support?
>
> I thought no man was left behind.
>
> --
> Daan

Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 88 262 30892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab



Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.