Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should secondary uri for a blob just work? #8

Open
moab360 opened this issue Dec 4, 2017 · 1 comment
Open

Should secondary uri for a blob just work? #8

moab360 opened this issue Dec 4, 2017 · 1 comment

Comments

@moab360
Copy link

moab360 commented Dec 4, 2017

In C# you can grab the primary URI off a blob as well as the SecondaryUri. The secondary URI appears to be the same as the primary except with a modified subdomain. https://examplecloudstorage.blob.core.windows.net/... vs https://examplecloudstorage-secondary.blob.core.windows.net/...

I'm finding the while the primary uri works fine, the secondary returns a DNS error not found. Is there something special that needs to be done to enable the secondary URI on a blob or container?

@robinsh
Copy link
Contributor

robinsh commented Dec 5, 2017

The secondary URI is used when the account is set to RA-GRS -- read-access geo redundant storage. This means that every time data is written to the primary, it is replicated to the secondary asynchronously, and you can read from the secondary. This will not work unless the replication is set to RA-GRS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants