FIX: "Non-yielding scheduler" error when you insert or update many rows in one transaction in SQL Server 2014

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

Symptoms


Assume that you have a memory-optimized table that uses In-Memory OLTP in Microsoft SQL Server 2014, and the table is included in an AlwaysOn Availability Group. When you try to insert or update many rows in one transaction in this table, a "non-yielding scheduler" error is generated in SQL Server. Additionally, the failover of the AlwaysOn Availability Group occurs, because the dump file generation takes a long time.

Resolution


The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 3 for SQL Server 2014

Status


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