FIX: Transaction log isn't truncated on a single node Availability Group in SQL Server 2016

Platí pro: SQL Server 2016 Service Pack 2SQL Server 2016 DeveloperSQL Server 2016 Enterprise

Symptoms


Assume that you have an Always On Availability Group (AG) with only primary replica (no secondary replicas). Over time, you may encounter the following error:
Error 9002. The transaction log for database is full due to 'AVAILABILITY_REPLICA'. 
When you perform a transaction log backup, the error won't be resolved as the log is not truncated and uses all the available space.

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:

References


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