FIX: SQL Server doesn't detect a deadlock condition when you run a merge statement

Applies to: SQL Server 2014 DeveloperSQL Server 2014 EnterpriseSQL Server 2014 Enterprise Core

Symptoms


When you run a merge statement in Microsoft SQL Server, a deadlock condition may occur between the merge operation and a background thread on the Clustered Columnstore Index (CCI) table. However, SQL Server does not detect the deadlock.

Notes

  • No error report is logged if trace flag 1222 is enabled.
  • No event is logged if you use the XEvent log to capture deadlocks and then try to trigger the event.

Resolution


This issue is fixed in Cumulative Update 11 for SQL Server 2014 Service Pack 2.

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 Microsoft uses to describe software updates.