Share via

always on error.

Heisenberg 266 Reputation points
2022-09-26T16:14:25.197+00:00

hi folks,
We had a incident in production couple of days back. all our application users were not able to access our database server for 5 minutes. After going through the error log it showed error (as attached.. they were all related to always on. Can someone give me direction how can i troubleshoot this issue? There was another observation our disk queue length was very high around that time and System.exe process usage was very high too. Always on setting is synchronous / manual
244912-untitled.jpg

SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories


1 answer

Sort by: Most helpful
  1. CathyJi-MSFT 22,431 Reputation points Microsoft External Staff
    2022-09-27T02:36:54.617+00:00

    Hi @Heisenberg ,

    Quote from MS blog.

    This message indicates the Synchronization state of an AlwaysOn partner.

    The last component is the integer value at the end (one following the second colon). In this case the number is 4 and 1.

    Here are the possible states:
    0 - Not Joined to AG
    1 - Not Synchronized
    2 - Suspended
    4 - Synchronized
    8 - Redo (redoing log)

    Did you find any other useful information about the state change process of SQL AG? Such as the availability group database "AG1" is changing roles from "PRIMARY" to "RESOLVING" because the mirroring session or availability group failed over due to role synchronization. Or some information about the reason cause AG offline?


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.