FIX: Deadlock when run the "CleanOrphanedPolicies" and "DeleteDataSources" built-in stored procedures together in SSRS 2016

Applies to: SQL Server 2016 Service Pack 1SQL Server 2016 DeveloperSQL Server 2016 Enterprise

Symptoms


Assume that you use Microsoft SQL Server 2016 Reporting Services (SSRS 2016). When you run the CleanOrphanedPolicies and DeleteDataSources SSRS built-in stored procedures at the same time, a deadlock may occur.

Resolution


This issue is fixed in the following cumulative updates for SQL Server:

       Cumulative Update 12 for SQL Server 2016 SP1

       Cumulative Update 4 for SQL Server 2016 SP2

       Cumulative Update 12 for SQL Server 2014 SP2

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References


Learn about the terminology that Microsoft uses to describe software updates.