NServiceBus.Transport.SqlServer 8.1.10 and 7.0.12 – Patch releases available

Hi everyone,

We’ve just released NServiceBus.Transport.SqlServer 8.1.10 and 7.0.12.

Fixed bugs

  • #1588 Cancelling publishing can cause one or more unrelated publish calls to throw cancellation exceptions

How to know if you are affected

You are affected if:

  • You are using NServiceBus with either the SQL Server or PostgreSQL transport.
  • You are calling Publish with a CancellationToken.
  • You cancel publishing of one message while other unrelated Publish calls are happening in parallel.

Symptoms

A Publish call that uses CancellationToken.None (or any non-cancelled token) may sometimes throw a TaskCanceledException. This occurs only when another concurrent Publish call with a cancelled token happens at the same time with the subscription cache invalidation. The cancellation propagates incorrectly to unrelated publish operations, causing unintended failures.

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.SqlServer from NuGet.

Please read our release policy for more details.

With thanks,
The team in Particular