locked
Appfabric stops intermittently with error: <ExceptionString>System.Runtime.DurableInstancing.InstanceKeyCollisionException: The execution of an InstancePersistenceCommand was interrupted by a key collision. RRS feed

  • Question

  • Hello,

    This question is related to AppFabric Service and Workflow Management:

    We are facing problem of intermittent crashing of AppFabric 1.1 CU 7(with latest hotfix) with below Inner Exception. Appreciate if someone help me get over this.

    I can send the screenshots of the configuration done.

    <ExceptionString>System.Runtime.DurableInstancing.InstanceKeyCollisionException: The execution of an InstancePersistenceCommand was interrupted by a key collision. The instance key with value 'b4bd5193-afea-c8ed-8bf1-0eeda90fe638' could not be associated to instance 'e10f7d40-3ab3-41ca-b3ce-ad23a7f986bd' because it is already associated to a different instance, 'b421154d-a176-4741-9c06-ec88e19dd72b'.
       at System.ServiceModel.Activities.Dispatcher.PersistenceProviderDirectory.TryAddAssociations(PersistenceContext context, IEnumerable`1 keys, HashSet`1 keysToAssociate, HashSet`1 keysToDisassociate)
       at System.ServiceModel.Activities.Dispatcher.PersistenceContext.AssociateKeysAsyncResult.HandleEndEnlist(IAsyncResult result)
       at System.Runtime.AsyncResult.SyncContinue(IAsyncResult result)
       at System.ServiceModel.Activities.Dispatcher.PersistenceContext.AssociateKeysAsyncResult..ctor(PersistenceContext persistenceContext, ICollection`1 associatedKeys, TimeSpan timeout, Boolean applicationKeys, AsyncCallback callback, Object state)
       at System.ServiceModel.Activities.Dispatcher.WorkflowServiceInstance.OnBeginAssociateKeys(ICollection`1 keys, AsyncCallback callback, Object state)
       at System.Activities.Runtime.ActivityExecutor.AssociateKeysAsyncResult..ctor(ActivityExecutor executor, ICollection`1 keysToAssociate, AsyncCallback callback, Object state)
       at System.Activities.Runtime.WorkItem.FlushBookmarkScopeKeys(ActivityExecutor executor)</ExceptionString>


    Thanks, Nilesh

    Sunday, September 30, 2018 7:59 AM