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