Symptoms

Consider the following scenario:

  • You perform at least one insert, update, or delete against a table that has change tracking enabled.

  • You disable all change tracking within the database.

In this scenario, even after you have disabled change tracking, when you try to set the database to the partially contained database model, you may receive an error message that resembles the following:

Msg 1205, Level 13, State 18, Procedure sp_flush_commit_table, LineNumber

Transaction (Process ID 63) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Msg 3999, Level 17, State 1, LineNumber

Failed to flush the commit table to disk in dbid 13 due to error 1205. Check the errorlog for more information.

 

Resolution

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

Cumulative Update 5 for SQL Server 2016 RTM

Cumulative Update 2 for SQL Server 2016 SP1

Cumulative Update 4 for SQL Server 2014 Service Pack 2

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2016

Latest cumulative update for SQL Server 2014

 

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

ReferencesLearn about the terminology Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.