Skip to content

Commit 07532ee

Browse files
Merge pull request #217338 from gahl-levy/patch-39
Update tutorial-global-distribution.md
2 parents 9d172b8 + fe621d9 commit 07532ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cosmos-db/mongodb/tutorial-global-distribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var collection = database.GetCollection<BsonDocument>(collectionName);
6868
collection = collection.WithReadPreference(new ReadPreference(ReadPreferenceMode.Nearest));
6969
```
7070

71-
For applications with a primary read/write region and a secondary region for disaster recovery (DR) scenarios, we recommend setting your collection's read preference to *secondary preferred*. A read preference of *secondary preferred* is configured to read from the secondary region when the primary region is unavailable.
71+
For applications with a primary read/write region and a secondary region for disaster recovery (DR) scenarios, we recommend setting your collection's read preference to *primary preferred*. A read preference of *primary preferred* is configured to read from the secondary region when the primary region is unavailable.
7272

7373
```csharp
7474
var collection = database.GetCollection<BsonDocument>(collectionName);

0 commit comments

Comments
 (0)