KB4560051 - FIX: SQL Server may still read data from secondary replica when ALLOW_CONNECTIONS is set to NO

Applies to: SQL Server 2019 on Windows

Symptoms


Assume that ALLOW_CONNECTIONS is set to NO for a secondary replica in Microsoft SQL Server 2019. In this situation, you notice that the server that is running SQL Server may still read data from secondary replica.

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.