KB4499231 - FIX: Log reader agent may fail after AG failover with TF 1448 enabled in SQL Server 2014, 2016 and 2017

Symptoms

The Availability Group (AG) setup and the transactional replication publisher database are joined as the AG database and Trace Flag (TF) 1448 is enabled in Microsoft SQL Server 2014, 2016 and 2017. After AG failover, the log reader agent may fail with the following error:

The process could not execute 'sp_repldone/sp_replcounters' on 'ServerName\ServerInstance'. (Source: MSSQL_REPL, Error number: MSSQL_REPL20011). The specified LSN {0018cfa2:000086f8:0003} for repldone log scan is not a replicated commit record.

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 updates 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:

References

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

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×