Skip to content

Commit 235bacf

Browse files
Add best practices for forced promotion in Geo-Replication
- Add guidance to delete and recreate old primary after forced promotion - Include step-by-step recommendations for post-failover actions - Clarify data integrity considerations for forced promotion scenarios
1 parent 767d128 commit 235bacf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

articles/service-bus-messaging/service-bus-geo-replication.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,16 @@ It is possible to do a forced promotion at any time after a planned promotion ha
209209
>
210210
> After a forced promotion, the old primary (now secondary) still contains unreplicated data. This data is lost when the old primary resynchronizes as the new secondary.
211211
212+
> [!WARNING]
213+
> After performing a **forced** promotion, the old primary region may contain unreplicated data and state inconsistencies. To ensure data integrity and avoid potential issues with your application, the current best practice is to **delete the old primary region and recreate it** rather than allowing it to resynchronize as a secondary.
214+
>
215+
> **Recommended steps after forced promotion**:
216+
> 1. Complete the forced promotion to establish the new primary region.
217+
> 1. Delete the old primary region from the Geo-Replication configuration.
218+
> 1. Add a new secondary region to restore geo-redundancy.
219+
>
220+
> Following these steps helps ensure your namespace operates with consistent data across all regions.
221+
212222
After the promotion is initiated:
213223

214224
1. The hostname is updated to point to the secondary region, which can take several minutes.

0 commit comments

Comments
 (0)