Will all write requests to a ZRS storage account fail when an availability zone becomes unavailable?

ML-1722 100 Reputation points
2024-05-26T10:02:33.72+00:00

Hi all,

Azure docs says that

A write request to a storage account that is using ZRS happens synchronously. The write operation returns successfully only after the data is written to all replicas across the three availability zones. If an availability zone is temporarily unavailable, the operation returns successfully after the data is written to all available zones.

If an availability zone (AZ) is unavailable, will all write requests fail? What happens if an AZ is unavailable for a long period of time?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,149 questions
{count} votes

Accepted answer
  1. Sumarigo-MSFT 46,126 Reputation points Microsoft Employee
    2024-05-31T09:58:22.0533333+00:00

    @ML-1722 Apologies for the delay response!

    No, the write will not fail if one AZ is unavailable documentation states "If an availability zone is temporarily unavailable, the operation returns successfully after the data is written to all available zones." In this case the available zones would be the two-remaining available AZs. We also include a chart lower in the documentation that explains each scenario a storage account is protected from based on the redundancy variation.

    User's image

    If you have any further questions, please let me know. I would like to work closely on this issue. Please share the information requested in the private message

       


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2024-05-26T10:02:33.7566667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    No, not all write requests to a ZRS storage account will fail when an availability zone becomes unavailable. According to the Azure documentation, if an availability zone is temporarily unavailable, the write operation returns successfully after the data is written to all available zones. This means that write requests will still succeed as long as at least one availability zone is available. However, if an availability zone is unavailable for a long period of time, it may affect the performance and availability of the storage account.

    Answer: No, not all write requests will fail when an availability zone becomes unavailable. Write requests will still succeed as long as at least one availability zone is available. If an availability zone is unavailable for a long period of time, it may affect the performance and availability of the storage account.


    References:

    0 comments No comments

Your answer

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