FIX: Cannot query or migrate data from a local Stretch-enabled table after you execute sys.sp_rda_reconcile_batch

Consider the following scenario:
  • You delete some batches from the recovery point objective (RPO) table and from remote Azure tables when you use Microsoft SQL Server 2016.
  • You execute sys.sp_rda_reconcile_batch on a local Stretch-enabled table to reconcile local and remote batch IDs.
  • You restore the remote Azure tables to a restore point.
In this scenario, you can no longer migrate data from the local Stretch-enabled table to the remote Azure tables. Additionally, when you execute a query that queries data from the remote Azure tables, you receive an error message that resembles the following:
Cannot query table '%.*ls' because data reconciliation is in progress. This is part of the automatic recovery process for a remote data archive enabled table. You may check the status of this operation in sys.remote_data_archive_tables.

The issue was first fixed in the following cumulative update 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:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Learn about the terminology that Microsoft uses to describe software updates.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 3174076 - Last Review: 07/26/2016 00:03:00 - Revision: 1.0

Microsoft SQL Server 2016 Developer, Microsoft SQL Server 2016 Enterprise, Microsoft SQL Server 2016 Enterprise Core, Microsoft SQL Server 2016 Standard

  • kbqfe kbfix kbsurveynew kbexpertiseadvanced KB3174076