SQL Server Error Msg 21870 – Distribution agent encountered a deadlock while applying commands in SubscriptionStreams mode.  Spid %u waiting on lock (type ‘%s’, mode ‘%s’) for index ‘%s’ of table ‘%s’.

In this blog post, let’s learn about the error message “21870 – Distribution agent encountered a deadlock while applying commands in SubscriptionStreams mode.  Spid %u waiting on lock (type ‘%s’, mode ‘%s’) for index ‘%s’ of table ‘%s’.” in Microsoft SQL Server, the reason why it appears and the solution to fix it.

SQL Server Error Message

21870 – Distribution agent encountered a deadlock while applying commands in SubscriptionStreams mode.  Spid %u waiting on lock (type ‘%s’, mode ‘%s’) for index ‘%s’ of table ‘%s’.

Reason for the Error

To be update soon…

Solution

To be update soon…