Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long messages and "Servicebus Lock Duration" #12

Closed
ninlil opened this issue Aug 31, 2020 · 2 comments
Closed

Long messages and "Servicebus Lock Duration" #12

ninlil opened this issue Aug 31, 2020 · 2 comments

Comments

@ninlil
Copy link

ninlil commented Aug 31, 2020

We are experiencing weird behaviour when messages take longer than half the lock-duration of the servicebus queue or topic.

Example:
Queue with a lock-duration of 30 seconds
All messages taking 20 seconds before Accept.

Expected behaviour:
All messages to be read and accepted by the servicebus

Actual behaviour:
1st message gets accepted correctly by the queue
all subsequent messaged are reported to the client as accepted, but the queue handles them like "Release()"
i.e no errors are reported from the "msg.Accept()"-call

The timing is always half of the "lock-duration", i.e setting lock-duration to max 5 minutes, messages taking >2.5 minutes behave the same as the scenario above.
and all messages taking less than half the lock-duration works as they should.

after some extended testing it seems that some message occasionally gets accepted correctly, but most messages end up as "released"

@serbrech
Copy link
Member

serbrech commented Feb 15, 2021

@jhendrixMSFT @catalinaperalta I'm pretty sure we can close this now :)

@jhendrixMSFT
Copy link
Member

This should be fixed in v0.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants