Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Application problem with AlwaysOn read only replica in synchronous commit

$
0
0
I am trying to implement a read only replica to move much of the data read for an application to the secondary replica. Initially I had the the primary and secondary set to asynchronous commit. QA brought up an issue with creating entities from the application because after the creation of an entity the application turns around and repopulates the entire aggregate object. Well it seems that the application was reading the secondary replica before the data had been committed. Although I understand the issues that synchronous commits can cause, I went ahead and made the change as I expected it to fix the issue. After changing the primary replica to synchronous we still had the error, so I also changed the secondary although that makes no since, but the issue remains. I rebooted the primary machine with no luck. So, now I am stuck and confused. The application has to get a successful commit back before it can move on to read the data so I don't understand how the data is not current on the read replica. If anyone has any ideas or suggestions, please let me know... thanks!

Viewing all articles
Browse latest Browse all 6525

Latest Images

Trending Articles



Latest Images