Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Is read-only access still allowed for a last replica that become the primary database (replica)?

$
0
0
I am planning to setup the SQL Server 2014 with AlwaysOn with a AG containing 1 db as primary replica and 1 db as secondary replica. The primary one will have read-only routing to read-only secondary replica. I have a client that will use "ApplicationIntent" as read-only and will point to the AG Listener. So when the client read the data, it should go to the read-only secondary replica. Now I want to know if my primary replica is failed, and failed over to the secondary replica, which become primary now, what happened to my client read-only connection. Since I have not define any read-only routing for the original secondary replica, will the db that just become primary still accept the read-only request?

Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>