[openstack-dev] [heat] Support for an "undo" operation for migrating back resource_properties_data

Steve Baker sbaker at redhat.com
Thu Sep 1 02:00:12 UTC 2016

On 01/09/16 12:57, Crag Wolfe wrote:
> I'm working on a migrate utility for
> https://review.openstack.org/#/c/363415 . Quick summary: that means
> moving resource.properties_data and event.properties_data to a new
> table, resource_properties_data. Migrating to the new model is easy. The
> questions come up with the inverse operation.
> 1) Would we even want to support undoing a migrate? I lean towards "no"
> but if the answer is "yes," the next question comes up:
No, OpenStack hasn't supported data migration downgrades for a while 
now. Migration failures are ideally fixed by failing forward. As a last 
resort rollbacks can be performed by restoring the database from backup.
> 2)

More information about the OpenStack-dev mailing list