ServiceBus doesn't complete the messages from the prefetch buffer #20380
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
Milestone
Describe the bug
If the lock expires in the prefetch buffer, the message is treated as abandoned and is again made available for retrieval from the queue. When there is more than a single failed message in the prefetch buffer, the client tries to process those messages again but doesn't complete any message even if they are processed successfully on the second attempt. If there is one failed message in the prefetch buffer, and it may be completed on the second attempt, all messages can be completed successfully.
To Reproduce
Code Snippet
Expected behavior
All messages from the prefetch buffer should be completed successfully after the successful attempt.
Setup (please complete the following information):
7.1.0
The text was updated successfully, but these errors were encountered: