Hi @Oleksandr Tedikov , thanks for the reply.
(Posting as answer as it was crossing the characters limit)
Please find the responses highlighted below:
SQL Database Region A fails, and comes back in 30 minutes.
- In thise case SQL Database Region D does not take over? : SQL Database Region D will not take over automatically but if you do manual failover then switch happens
- Web API A, B, C Requests which Write to SQL Database Region A are failing for 30 minutes?: Yes till the time switch/mitigation happens they will fail
- If it is not appropriate behaviour for us to have 30 minutes Failed Requests, should we as soon as we want make Manual Failover through Portal, so that SQL Database Region D takes over?: Yes RTO of manual failover is 30 seconds, so it will be very quick
SQL Database Region A fails, and does not come back in 1 hour.
- SQL Database Region D does takes over?: Yes after grace period, switch will happen
- Web API A, B, C Requests which Write to SQL Database Region A then Write to SQL Database Region D instead?: Yes after failover, all of them write to Database D
- If it is not appropriate behaviour for us to have 1 hour Failed Requests, should we as soon as we want make Manual Failover through Portal, so that SQL Database Region D takes over?: Yes RTO of manual failover is 30 seconds, so it will be very quick
My main question is how to react to SQL Database Region A Failure, so to have always Web API A, B, C Requests Write to either SQL Database Region A or SQL Database Region D, and business not to wait up to 1 hour until either SQL Database Region A comes back or SQL Database Region D takes over.
To minimize the failover time, fastest way is to do manual failover of database.
Please let us know if this helps or we can discuss further.
----------
If answer helps, please mark it 'Accept Answer'