Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Consider the following scenario:

  • You have configured a Distributed Availability Group in SQL Server 2017 or 2019 on Linux between the Availability Groups (AGs), AG1 and AG2.

  • Assume that AG1 is the primary availability group with nodes, N1 , N2 and N3.

  • If you try to fail over from N1 to N3 in availability group AG1, the synchronization will get stuck in non-synchronizing state and will never become healthy. Additionally, you may notice the following error in error log of N3:

Error: 41166, Severity: 16, State: 9

An error occurred while waiting to access the local availability replica of availability group 'Availability group Name'. The operation encountered SQL OS error 2, and has been terminated. Verify that the local availability replica is in the correct state, and then retry the command.

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 updates 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.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×