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

Getting Lock Lost exception under "Lock duration" period set on Topic Subscription

$
0
0

Hi

We are polling a Service Bus Topic subscription using Azure Logic Apps in PeekLock Mode.
The Lock duration on the subscription is set to 5 minutes.

Now, we are observing inconsistent behavior while trying to complete the message.
After a duration of 1:06 secs, while trying to complete the message, we got Lock Lost exception:

Failed to complete the message with the lock token 'db351bdb-4e93-4a98-8563-ea20b5f7af14'. The lock on the message has been lost.\r\nclientRequestId: 58e3b9cc-85ac-40da-ae40-439f5220dcc5

There have been instances before when the processing took 3 mins, but we did not get this exception.
TThe expectation is that we will only receive this exception if ~5mins have elapsed.

Any inputs are appreciated.


Thanks Arindam



Viewing all articles
Browse latest Browse all 1916

Trending Articles



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