Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Microsoft.ServiceBus.Messaging.SessionLockLostException

$
0
0

Hi -

We have workflow manager 1.0(CU2) and service bus 1.1)(CU2) installed on a  Win2k8R2 On-premise SharePoint 2013 farm. Workflow manager has been  installed on 3 SharePoint servers  in App layer .

Issue: We are observing intermittent errors like below in the event log on any of workflow server and it is happening in Pre-prod and Prod too . When this happens, the current workflow suspends and re-triggers a duplicate workflow for the same instance which resulting data corruption with duplicate instance as per our application functionality design . 

Error message :

Log Name:      Microsoft-ServiceBus/Operational
Source:        Microsoft-ServiceBus
Date:          08/04/2016 06:19:57
Event ID:      30504
Task Category: (35030)
Level:         Warning
Keywords:      Broker
User:          ********
Computer:      ********
Description:
SQL command processing error. Database info: Instance\DatabaseName. Exception: command text: [dbo].[SetEntityMetadataUpdateFlag], exception =Microsoft.ApplicationServer.Messaging.Broker.EntityLockLostException: Failed to lock entity WORKFLOWDEFAULTNAMESPACE:TOPIC:SHAREPOINT/DEFAULT/4BAA12BD-3139-4CE4-8F01-283A20041834/A79489F2-7AC9-4FAD-BC88-8E0F34C7E3C6/WFTOPIC with the specified epoch 210. The current epoch is 211.
   at Microsoft.ApplicationServer.Messaging.Broker.Sql.StoreUtilities.ValidateSqlResult(SqlDataReader reader, String entityName, SqlContainerLocation containerLocation)
   at Microsoft.Cloud.ServiceBus.Common.Sql.SqlStoreAsyncResult.SqlCommandAsyncResultCallback(IAsyncResult result). TrackingId: f9367ea2-7a17-4fb4-affc-9fa484a7bee1_Bpruswivproecm6, SubsystemId: NoSystemTracker.

Any insights on this error would be greatly appreciated . 


Regards , Riaz.


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>