You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/mongodb/vcore/cross-region-replication.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.subservice: mongodb-vcore
9
9
ms.custom:
10
10
- build-2024
11
11
ms.topic: concept-article
12
-
ms.date: 05/09/2024
12
+
ms.date: 05/20/2024
13
13
#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.
14
14
---
15
15
@@ -43,15 +43,15 @@ When you create a replica by enabling cross-region replication, it doesn't inher
43
43
44
44
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.
45
45
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.
47
47
48
48
## Replica cluster promotion
49
49
50
50
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:
51
51
52
52
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.
55
55
56
56
> [!IMPORTANT]
57
57
> 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.
Copy file name to clipboardExpand all lines: articles/cosmos-db/mongodb/vcore/how-to-cluster-replica.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ ms.subservice: mongodb-vcore
9
9
ms.custom:
10
10
- build-2024
11
11
ms.topic: how-to
12
-
ms.date: 05/09/2024
12
+
ms.date: 05/20/2024
13
13
#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.
14
14
---
15
15
@@ -52,7 +52,7 @@ To enable cross-region replication on a new cluster *at any time after cluster c
52
52
1. Once cluster is created, on the cluster sidebar, under **Settings**, select **Global distribution (preview)**.
53
53
1. Select **Add new read replica**.
54
54
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.
56
56
1. Verify your selection and select the **Save** button to confirm replica creation.
57
57
58
58
## Promote a replica
@@ -90,15 +90,24 @@ If you need to delete the primary and replica clusters, you would need to delete
90
90
91
91
## Use connection strings
92
92
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.
94
94
Follow these steps to [get the connection strings for different cases](./cross-region-replication.md#read-operations-on-cluster-replicas-and-connection-strings):
95
95
96
96
1. Select the primary cluster or its cluster replica in the portal.
97
97
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.
100
104
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.
0 commit comments