FIX: Newly added articles' snapshot doesn't get applied to subscriber in SQL Server 2016

Applies to: SQL Server 2016 Service Pack 2SQL Server 2016 DeveloperSQL Server 2016 Enterprise

Symptoms


Assume that you haveconfigured Transaction replication with immediate_sync=false on a highlytransactional database. Now, you add a new table to the publication. You willnotice that distribution agent doesn't apply creation commands related to newlyadded table on the subscriber.

Status


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

Resolution


This issue is fixed in the following cumulative update for SQL Server:
About cumulative updates 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. Check out the latest cumulative updates for SQL Server:

Workaround


To work around this issue, you can do the following:
  • To make sure that this issue doesn'toccur in future – change the immediate_sync to true.
  • Stop log reader agent before addingthe article, and restart log reader agent after new snapshot is generated.
  • Stop distribution agent before adding thearticle, and restart distribution agent after new snapshot is generated.

References


Learn about the terminology that Microsoft uses to describe software updates.