NServiceBus.Transport.AzureStorageQueues 13.0.1, 12.0.2, and 10.0.6 – Patch releases available

Hi everyone,

We’ve just released NServiceBus.Transport.AzureStorageQueues 13.0.1, 12.0.2, and 10.0.6.

Fixed bugs

  • #1076 Handler execution exceeding message visibility timeout leads to infinite message processing and failure to execute recoverability
  • #1077 Endpoint shuts down due to a critical error when a message handler fails and has exceeded the message visibility timeout
  • #1214 Track messages that successfully completed the message or error pipeline but failed to get acknowledged due to expired leases

How to know if you are affected

You are affected by #1076 if the time taken to execute a message handler always exceeds the visibility timeout of the message (30 seconds by default) and you are not using the outbox feature.

You are affected by #1077 if you have messages that fail due to a persistent issue (e.g. a bug in your code) and the handler execution time multiplied by the number of immediate retries exceeds the message visibility timeout (30 seconds by default).

Symptoms

#1076

The message is retried continuously with an increasing dequeue count and the message is never removed from the queue. On each attempt, a warning is logged similar to:

WARN  Dispatching the message took longer than a visibility timeout. The message will reappear in the queue and will be obtained again.
NServiceBus.Transport.AzureStorageQueues.LeaseTimeoutException: The pop receipt of the cloud queue message '{message ID}' is invalid as it exceeded the next visible time by '{time}'.

#1077

The message is requeued by the broker and causes the recoverability process (if enabled) to fail continuously. The circuit breaker is triggered, and a critical error action is raised.

FATAL Failed to execute recoverability policy for message with native ID: `{message ID}`.
NServiceBus.Transport.AzureStorageQueues.LeaseTimeoutException: The pop receipt of the cloud queue message '{message ID}' is invalid as it exceeded the next visible time by '{time}'.

When to upgrade

You should upgrade immediately if you are affected. Otherwise, you should upgrade during your next maintenance window.

Where to get it

You can install the new versions of NServiceBus.Transport.AzureStorageQueues from NuGet.

Please read our release policy for more details.

With thanks,
The team in Particular