Automatic failover

If any read region fails, then Cosmos DB automatically disconnects that read region from a write region and diverts all its traffic to the preferred region list provided by the user.

If the user has not provided any region list then the traffic will be diverted to the main write region for further processing.

Once the read region is online, traffic will be automatically diverted to that region. All of this happens without a single line of code change in your application.

If the write region fails, then using a consensus protocol, another read region would be promoted as the write region. You can also specify which read region should become the write region in case of failure.

Let's look at manual failover.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.248.69