You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by bharat kumar <bh...@citrix.com> on 2013/08/06 15:11:02 UTC
Review Request 13325: preserve data in iso_id column while upgrading form
3.0.7 to 4.2
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13325/
-----------------------------------------------------------
Review request for cloudstack and Kishan Kavala.
Bugs: Cloudstack-4100
Repository: cloudstack-git
Description
-------
preserve data in iso_id column while upgrading form 3.0.7 to 4.2
Earlier was dropping the iso_id column as a result we loose data from the iso_id column prior to upgrade.
Now fixed this by.
renaming the iso_id to iso_id1 in schema-307to401 file.
and then after upgrade dropping the iso_id column and renaming the iso_id1 to iso_id in 307to401 cleanup schema.
Diffs
-----
setup/db/db/schema-307to410-cleanup.sql 6a9e2af
setup/db/db/schema-307to410.sql af296ab
Diff: https://reviews.apache.org/r/13325/diff/
Testing
-------
tested the upgrade from 3.0.7 to 4.2.
Thanks,
bharat kumar
Re: Review Request 13325: preserve data in iso_id column while upgrading
form 3.0.7 to 4.2
Posted by "Jenkins Cloudstack.org" <hu...@apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13325/#review24722
-----------------------------------------------------------
Review 13325 failed the build test : FAILURE
The url of build cloudstack-master-with-patch #114 is : http://jenkins.cloudstack.org/job/cloudstack-master-with-patch/114/
- Jenkins Cloudstack.org
On Aug. 6, 2013, 1:11 p.m., bharat kumar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13325/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2013, 1:11 p.m.)
>
>
> Review request for cloudstack and Kishan Kavala.
>
>
> Bugs: Cloudstack-4100
>
>
> Repository: cloudstack-git
>
>
> Description
> -------
>
> preserve data in iso_id column while upgrading form 3.0.7 to 4.2
>
> Earlier was dropping the iso_id column as a result we loose data from the iso_id column prior to upgrade.
>
> Now fixed this by.
> renaming the iso_id to iso_id1 in schema-307to401 file.
> and then after upgrade dropping the iso_id column and renaming the iso_id1 to iso_id in 307to401 cleanup schema.
>
>
> Diffs
> -----
>
> setup/db/db/schema-307to410-cleanup.sql 6a9e2af
> setup/db/db/schema-307to410.sql af296ab
>
> Diff: https://reviews.apache.org/r/13325/diff/
>
>
> Testing
> -------
>
> tested the upgrade from 3.0.7 to 4.2.
>
>
> Thanks,
>
> bharat kumar
>
>
Re: Review Request 13325: preserve data in iso_id column while upgrading
form 3.0.7 to 4.2
Posted by bharat kumar <bh...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13325/
-----------------------------------------------------------
(Updated Aug. 7, 2013, 1:02 p.m.)
Review request for cloudstack and Kishan Kavala.
Bugs: Cloudstack-4100
Repository: cloudstack-git
Description
-------
preserve data in iso_id column while upgrading form 3.0.7 to 4.2
Earlier was dropping the iso_id column as a result we loose data from the iso_id column prior to upgrade.
Now fixed this by.
renaming the iso_id to iso_id1 in schema-307to401 file.
and then after upgrade dropping the iso_id column and renaming the iso_id1 to iso_id in 307to401 cleanup schema.
Diffs (updated)
-----
engine/schema/src/com/cloud/upgrade/dao/Upgrade410to420.java 2e5fbcb
setup/db/db/schema-307to410.sql af296ab
Diff: https://reviews.apache.org/r/13325/diff/
Testing
-------
tested the upgrade from 3.0.7 to 4.2.
Thanks,
bharat kumar
Re: Review Request 13325: preserve data in iso_id column while upgrading
form 3.0.7 to 4.2
Posted by Kishan Kavala <Ki...@citrix.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/13325/#review24789
-----------------------------------------------------------
setup/db/db/schema-307to410-cleanup.sql
<https://reviews.apache.org/r/13325/#comment48908>
this should be moved to Upgrade41-42.java. nay changes to iso_id in later releases will be lost otherwise
- Kishan Kavala
On Aug. 6, 2013, 6:41 p.m., bharat kumar wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/13325/
> -----------------------------------------------------------
>
> (Updated Aug. 6, 2013, 6:41 p.m.)
>
>
> Review request for cloudstack and Kishan Kavala.
>
>
> Bugs: Cloudstack-4100
>
>
> Repository: cloudstack-git
>
>
> Description
> -------
>
> preserve data in iso_id column while upgrading form 3.0.7 to 4.2
>
> Earlier was dropping the iso_id column as a result we loose data from the iso_id column prior to upgrade.
>
> Now fixed this by.
> renaming the iso_id to iso_id1 in schema-307to401 file.
> and then after upgrade dropping the iso_id column and renaming the iso_id1 to iso_id in 307to401 cleanup schema.
>
>
> Diffs
> -----
>
> setup/db/db/schema-307to410-cleanup.sql 6a9e2af
> setup/db/db/schema-307to410.sql af296ab
>
> Diff: https://reviews.apache.org/r/13325/diff/
>
>
> Testing
> -------
>
> tested the upgrade from 3.0.7 to 4.2.
>
>
> Thanks,
>
> bharat kumar
>
>