On Thu, Nov 14, 2013 at 5:18 AM, Mike Spreitzer <mspre...@us.ibm.com> wrote:
> This is a follow-up to the design summit discussion about DB migrations.
> There was concern about the undo-ability of some migrations.  The specific
> example cited was removal of a column.  Could that be done with the
> following three migrations, each undo-able?  First, change the code to keep
> writing the column but no longer read the column.  Second migration changes
> the code to neither read nor write the column.  Third migration physically
> removes the column.

This was actually discussed in the session as an example of how other
projects handle these problems. Our concerns (IIRC) were that it would
take even more patches to land, and each of those patches is quite
hard to land in nova these days. Additionally, it increases the
complexity of our code a lot, because we have to handle databases in
all possible states because of how our continuous deployment model
works.

Objects bring us closer to being able to do this, but we need objects
finished first.

Michael

-- 
Rackspace Australia

_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to