Hi everyone,
We’ve just released NServiceBus.RabbitMQ 7.0.2 and 6.1.3.
Fixed bugs
- #927 Cannot apply recoverability policies when handler execution exceeds consumer ACK timeout leading to infinite message processing
How to know if you are affected
You are affected if:
- You have message handlers that always take a long time (by default more than 30 minutes) to execute. These messages undergo infinite retry attempts due to an error when trying to acknowledge them with the RabbitMQ broker. Customers who use the Outbox are not affected because NServiceBus is able to identify the duplicate processing attempt and the handler invocation is skipped.
- You have messages that fail due to a persistent issue (e.g. bug in code) and the handler execution time multiplied by the number of immediate retries is higher than 30 minutes. Such messages undergo infinite retries causing constant resource pressure on the system.
Symptoms
Messages undergo infinite retries causing business logic to not be executed on time. These messages put a constant pressure on the resources of the system.
Workaround
A temporary workaround for the issue, if you are affected and can’t upgrade immediately, is to extend the consumer timeout value.
When to upgrade
If you are affected, you should upgrade immediately. Otherwise, upgrade during your next maintenance window.
Where to get it
You can install the new versions of NServiceBus.RabbitMQ from NuGet.
With thanks,
The team in Particular
Please read our release policy for more details.