"Database is in transition" Error During Promotion

Follow

Issue: A developer reported that promotion of an application version with a patched database failed with the error below. 

Cause:  an update being rolled back or applied to the application.

Resolution: waiting for the process to finish allowed the developer to retry at a later time and resulted in a successful promotion.

Timestamp: 12/16/2014 11:53:32 PM 
Application: Developer Portal Version 1 316b32db-e812-40b8-9be0-9a4292bc95cc 
SessionId: 9bcfe28e-ac85-e411-9e43-0050568b3f17 
SessionActive: false 
ProviderName: Apprenda, Inc 00000000-0000-4000-0000-000000000001 
Tenant: TENANT 1111a0ea-7f88-4d74-9e50-a6f301d94ab2 
User: USERNAME 9675bb4a-2c77-e311-a666-0050568b3f17

Error event created by Apprenda.SaaSGrid.ProviderPortal.ApplicationVersion from machine SERVER.

-----------------LogMessage-----------------

An unanticipated error occurred during promotion.

-----------------EndLogMessage-----------------

-----------------SurfaceException (Apprenda.ApprendaApplicationException)-----------------

Error on line 1 : Database 'smmt__5ojr2j0pzzc' is in transition. Try the statement later.

at Apprenda.SaaSGrid.StoreFront.TenantOnBoarder.Initiate(TenantOnBoardingParameters parameters)

at Apprenda.SaaSGrid.ProviderPortal.SingleTenantServicesHandler.PromotionCompleted(IVersion version)

at Apprenda.SaaSGrid.ProviderPortal.VersionPublishedStage.b__2(IApplicationServicesHandler handler)

at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()

at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)

at Apprenda.SaaSGrid.ProviderPortal.VersionPublishedStage.HandlePromotionCompletion(IVersionStage previousStage)

at Apprenda.SaaSGrid.ProviderPortal.ApplicationVersion.Promote(IVersionStage proposedStage)

-----------------EndSurfaceException----------------- 
Have more questions? Submit a request

Comments