When continuing operations in a different region, ensure the application can run in that region by migrating the application and modifying communication destinations.
Ensure the service is definitively stopped in the other region. Additionally, if the stoppage is due to a temporary network outage or other automatically recoverable cause, data duplication may occur because replication logs sent immediately before the stoppage are delivered. Before resuming operations in the target region, use the pgactive_apply_pause function to stop log reception.
When performing a rollback, follow the recovery steps below.
Handling data discrepancies during the failure is fundamentally the same as recovering the original region.
When restoring the previous environment as-is
Once connectivity with the other region is reestablished after recovery, the stalled replication logs will resume. Resume operations in the original region.
When building a new environment
After creating an empty database, add the new region to the operational region.