Skip to content

Commit 9493ba6

Browse files
committed
Various fixes.
1 parent 9c53ddd commit 9493ba6

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

articles/cosmos-db/mongodb/vcore/cross-region-replication.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.subservice: mongodb-vcore
99
ms.custom:
1010
- build-2024
1111
ms.topic: concept-article
12-
ms.date: 05/09/2024
12+
ms.date: 05/20/2024
1313
#Customer Intent: As a database adminstrator, I want to configure cross-region replication, so that I can have disaster recovery plans in the event of a regional outage.
1414
---
1515

@@ -43,15 +43,15 @@ When you create a replica by enabling cross-region replication, it doesn't inher
4343

4444
The replica inherits the admin account from the primary cluster. User accounts need to be managed on the primary cluster. You can connect to the primary cluster and its replica cluster using the same user accounts.
4545

46-
When cross-region replication is enabled, applications can use the replica cluster connection string to perform reads from the cluster replica. The primary cluster is available for read and write operations using a read-write connection string. The global read-write connection string is updated as a part of replica promotion process to point to the current read-write cluster.
46+
When cross-region replication is enabled, applications can use the replica cluster connection string to perform reads from the cluster replica. The primary cluster is available for read and write operations using its own connection string.
4747

4848
## Replica cluster promotion
4949

5050
If a region outage occurs, you can perform disaster recovery operation by promoting your cluster replica in another region to become available for writes. During replica promotion operation, these steps are happening:
5151

5252
1. Writes on the replica in region B are enabled in addition to reads. The former replica becomes a new read-write cluster.
53-
1. The global read-write string now points to the promoted cluster in region B.
54-
1. The cluster in region A is set to read-only.
53+
1. The promoted replica cluster accepts writes using its connection string.
54+
1. The cluster in region A is set to read-only and keeps its connection string.
5555

5656
> [!IMPORTANT]
5757
> Because replication is asynchronous, some data from cluster in region A might not be replicated to region B when cluster replica in region B is promoted. If this is the case, promotion would result in the un-replicated data not present on both clusters.

articles/cosmos-db/mongodb/vcore/how-to-cluster-replica.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.subservice: mongodb-vcore
99
ms.custom:
1010
- build-2024
1111
ms.topic: how-to
12-
ms.date: 05/09/2024
12+
ms.date: 05/20/2024
1313
#Customer Intent: As a database adminstrator, I want to configure cross-region replication, so that I can have disaster recovery plans in the event of a regional outage.
1414
---
1515

@@ -52,7 +52,7 @@ To enable cross-region replication on a new cluster *at any time after cluster c
5252
1. Once cluster is created, on the cluster sidebar, under **Settings**, select **Global distribution (preview)**.
5353
1. Select **Add new read replica**.
5454
1. Provide a replica cluster name in the **Read replica name** field.
55-
1. Select a region in the **Read replica region**. This is the Azure region where replica cluster will be hosted.
55+
1. Select a region in the **Read replica region**. The replica cluster is hosted in the selected Azure region.
5656
1. Verify your selection and select the **Save** button to confirm replica creation.
5757

5858
## Promote a replica
@@ -90,15 +90,24 @@ If you need to delete the primary and replica clusters, you would need to delete
9090

9191
## Use connection strings
9292

93-
You can connect to the cluster replica as you would to a regular read-write cluster. When global distribution is enabled on the cluster, you can use global read-write connection string for reads and writes. This global read-write connection string would always point to the current read-write cluster.
93+
You can connect to the cluster replica as you would to a regular read-write cluster.
9494
Follow these steps to [get the connection strings for different cases](./cross-region-replication.md#read-operations-on-cluster-replicas-and-connection-strings):
9595

9696
1. Select the primary cluster or its cluster replica in the portal.
9797
1. On the cluster sidebar, under **Settings**, select **Connection strings**.
98-
1. On the primary cluster, copy the global read-write connection string for connections to the current read-write cluster.
99-
1. Copy the connection string for currently selected cluster to connect to that cluster as you would with a regular read-write cluster.
98+
1. Copy the connection string for currently selected cluster to connect to that cluster.
99+
100+
Connection strings are preserved after [the cluster replica promotion](./cross-region-replication.md#replica-cluster-promotion). You can continue to use either string for read opertions. You need to change connection string to point to the promoted replica cluster to continue writes to the database after promotino is completed.
101+
102+
## Cross-region replication limits and limitations
103+
The following section describes various limits in the cross-region replication feature.
100104

101-
Connection strings are preserved after [the cluster replica promotion](./cross-region-replication.md#replica-cluster-promotion).
105+
- Cross-region replication is not supported in [the Free tier](./free-tier.md).
106+
- [Burstable compute](./burstable-tier.md) is not supported on replica clusters.
107+
- Cross-region replication is supported only on clusters with one shard.
108+
- Compute, storage, and shard count configuration is the same on the primary and replica clusters and can't be changed.
109+
- High availability is not supported on replica clusters.
110+
- Replica of a replica cluster is not supported.
102111

103112
## Related content
104113

0 commit comments

Comments
 (0)