FIX: DBCC CHECKDB doesn't report metadata inconsistency of invalid filegroups in its summary in SQL Server 2014 and SQL Server 2012

Symptoms
Assume that you have a database that contains a partitioned table in Microsoft SQL Server 2014 or SQL Server 2012. The partitions of the table are mapped to different filegroups, and some filegroup mappings are invalid. When you run the DBCC CHECKDB statement, the invalid filegroups are detected and reported in the results:
Unable to process index <IndexName> of table <TableName> because filegroup (FileGroup ID <FileGroupNumber>) is invalid.
However, the summary section doesn't report any allocation or consistency errors.
Resolution
The issue was first fixed in the following cumulative updates of SQL Server: 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:


Note This fix only corrects the DBCC CHECKDB reporting behavior so that the invalid filegroups are reported in the DBCC CHECKDB summary as consistency errors. The fix doesn't fix invalid filegroup or consistency errors, and restoring database from the last known good backup is recommended to correct the corruption.

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

Properties

Article ID: 3100361 - Last Review: 07/19/2016 00:16:00 - Revision: 3.0

Microsoft SQL Server 2014 Service Pack 1, Microsoft SQL Server 2012 Service Pack 3

  • kbfix kbqfe kbsurveynew kbexpertiseadvanced KB3100361
Feedback