FIX: Columnstore index corruption occurs when you use AlwaysOn Availability Groups in SQL Server 2014

Symptoms
Assume that you use the AlwaysOn Availability Groups feature in Microsoft SQL Server 2014. When a computer that's running SQL Server fails over from one replica to another, the columnstore index in the availability group may be corrupted. If you then run DBCC CHECKTABLE on the table that contains the corrupted columnstore index, you may receive the following error messages:

Msg 8964, Level 16, State 1
Table error: Object ID <object id>, index ID <index id>, partition ID <partition id>, alloc unit ID <alloc unit id> (type LOB data). The off-row data node at page (<page id>), slot <slot id>, text ID <text id> is not referenced.

Msg 5289, Level 16, State 3
Clustered columnstore table '<table name>' index '<index name>' column '<column name>' rowgroup id <rowgroup id> has one or more data values that do not match data values in a dictionary. Restore the data from a backup.
Resolution

Cumulative update information

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

Recommendation: Install the latest cumulative update for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates 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.
Properties

Article ID: 3135751 - Last Review: 05/31/2016 06:59:00 - Revision: 3.0

  • kbfix kbqfe kbexpertiseadvanced kbsurveynew KB3135751
Feedback