[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [OSSTEST PATCH 8/7] Schema: When creating, check that no updates are applied



On Thu, 2015-12-10 at 15:34 +0000, Ian Jackson wrote:
> If you try to run mg-schema-create on an existing instance it bombs
> out right at the beginning because it tries to create the `flights'
> table, which already exists.
> 
> But in the future the `flights' table might be removed in an update,
> which would remove this safety catch.ÂÂThen running the create might
> partially succeed, leaving debris a production instance.
> 
> Detect this situation by looking for applied schema updates, and
> bombing out if there are any.
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.