Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 174BD11162 for ; Tue, 2 Sep 2014 14:49:04 +0000 (UTC) Received: (qmail 66346 invoked by uid 500); 2 Sep 2014 14:49:03 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 66295 invoked by uid 500); 2 Sep 2014 14:49:03 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 66267 invoked by uid 99); 2 Sep 2014 14:49:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 14:49:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of rohit.yadav@shapeblue.com designates 213.199.154.79 as permitted sender) Received: from [213.199.154.79] (HELO emea01-db3-obe.outbound.protection.outlook.com) (213.199.154.79) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Sep 2014 14:48:36 +0000 Received: from DBXPR07MB480.eurprd07.prod.outlook.com (10.141.231.154) by DBXPR07MB480.eurprd07.prod.outlook.com (10.141.231.154) with Microsoft SMTP Server (TLS) id 15.0.1015.19; Tue, 2 Sep 2014 14:48:33 +0000 Received: from DBXPR07MB480.eurprd07.prod.outlook.com ([10.141.231.154]) by DBXPR07MB480.eurprd07.prod.outlook.com ([10.141.231.154]) with mapi id 15.00.1015.018; Tue, 2 Sep 2014 14:48:33 +0000 From: Rohit Yadav To: "dev@cloudstack.apache.org" Subject: Re: Cherry-picking fix that may change 4.3.1 schema Thread-Topic: Cherry-picking fix that may change 4.3.1 schema Thread-Index: AQHPxrCZ9Mz5v2GvuEyVjI+cgiT105vt1rKAgAABNoCAABG4AIAAAu6A Date: Tue, 2 Sep 2014 14:48:33 +0000 Message-ID: <3F69D593-FC40-4572-86B9-1D3BBE2D5D24@shapeblue.com> References: <5405C76F.3050807@widodh.nl> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Apple Mail (2.1878.6) x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [178.199.176.194] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;UriScan:; x-forefront-prvs: 0322B4EDE1 x-forefront-antispam-report: SFV:NSPM;SFS:(6009001)(24454002)(199003)(377454003)(13734003)(189002)(101416001)(95666004)(85306004)(106116001)(81342001)(93886004)(15395725005)(46102001)(77156001)(89996001)(19580405001)(88136002)(83322001)(105586002)(19580395003)(64706001)(2656002)(2501002)(66066001)(90102001)(36756003)(76482001)(80022001)(62966002)(21056001)(50226001)(57306001)(107886001)(2351001)(107046002)(82746002)(15975445006)(33656002)(86362001)(85852003)(83716003)(4396001)(20776003)(77982001)(99396002)(81542001)(104166001)(50986999)(87936001)(110136001)(106356001)(83072002)(92726001)(15202345003)(79102001)(87286001)(31966008)(74502001)(76176999)(74662001)(92566001)(93916002)(104396001);DIR:OUT;SFP:;SCL:1;SRVR:DBXPR07MB480;H:DBXPR07MB480.eurprd07.prod.outlook.com;FPR:;MLV:sfv;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: shapeblue.com X-Virus-Checked: Checked by ClamAV on apache.org On 02-Sep-2014, at 4:38 pm, David Nalley wrote: > I agree - how will users upgrade from 4.3.1 to 4.4.x or later - schema > changes aren't necessarily going to screw up the upgrade process, but > certainly have a high likelihood of doing so. What happens when > 4.3.0-to-4.4.0.sql runs? The table already exists - and upgrade will > puke. 4.4.0 is already released; so not like you can roll that change > back. Since 4.4.0 is already released, people who will install 4.3.1 won=92t be a= ble to upgrade to 4.4.0 as the 4.4.0 artifacts won=92t have an upgrade path= from 4.3.1 to 4.4.0; but this can be only fixed (i.e. have an upgrade path= ) in 4.4.1. For 4.3.1, we can still have the changes but 4.3.1 users would only be able= to upgrade to 4.4.1 or later releases and not 4.4.0 because there is no pa= th from 4.3.1 to 4.4.0 in 4.4.0 release. This is true for all ACS releases, only the latest releases know and have u= pgrade paths. So, what I also proposed here was to refactor the whole upgra= de logic as a tool and maintain it separately and this tool can perhaps has= its own release process that is faster than the ACS releases and this tool= knows about all the releases and has the necessary upgrade paths. Regards, Rohit Yadav Software Architect, ShapeBlue M. +41 779015219 | 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 CSForge =96 rapid IaaS deployment framework CloudStack Consulting CloudStack Infrastructure Support CloudStack Bootcamp Training Courses This email and any attachments to it may be confidential and are intended s= olely for the use of the individual to whom it is addressed. Any views or o= pinions expressed are solely those of the author and do not necessarily rep= resent those of Shape Blue Ltd or related companies. If you are not the int= ended 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 y= ou believe you have received this email in error. Shape Blue Ltd is a compa= ny incorporated in England & Wales. ShapeBlue Services India LLP is a compa= ny 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 c= ompany registered by The Republic of South Africa and is traded under licen= se from Shape Blue Ltd. ShapeBlue is a registered trademark.