Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

SQL 2016 AG

$
0
0

Hi

When the read-only routing is configured, the read requests like select * from dbo.account will go to secondary node when the application srting is also set toApplicationIntent=ReadOnly

Now what would happend when de read requests goes to the secondary node and at the same time the secondary node failed? would the read requests goes back to the primary node?

In my test enviorment I set the ApplicationIntent=ReadOnly for my ssms and then connect to my AG listener and ran select * from dbo.account and I could see that select requests goes to the secondary node but when query was running we did disconnect the secondary node nic and we can see that query has been failed

Is this expected?


Shahin


Viewing all articles
Browse latest Browse all 4532

Trending Articles



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