Skip to content

Commit 9a73cc6

Browse files
committed
edits
1 parent 8e3b13c commit 9a73cc6

File tree

7 files changed

+51
-17
lines changed

7 files changed

+51
-17
lines changed

articles/cosmos-db/cassandra/TOC.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,16 @@
177177
- name: Mapping Cassandra consistency levels
178178
href: consistency-mapping.md
179179
- name: High availability
180-
href: ../high-availability.md
181-
- name: Conflict types and resolution policies
182-
displayName: last write wins, custom, multi-region writes, multi-master
183-
href: ../conflict-resolution-policies.md
180+
items:
181+
- name: High availability overview
182+
href: ../high-availability.md
183+
- name: Multi-region writes
184+
items:
185+
- name: Understanding multi-region writes
186+
href: ../multi-region-writes.md
187+
- name: Conflict resolution
188+
displayName: last write wins, custom, multi-region writes, multi-master
189+
href: ../conflict-resolution-policies.md
184190
- name: Global distribution - under the hood
185191
href: ../global-dist-under-the-hood.md
186192
- name: Security

articles/cosmos-db/change-feed.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ Change feed is available for partition key ranges of an Azure Cosmos DB containe
6767

6868
Change feed items come in the order of their modification time. This sort order is guaranteed per partition key, and there's no guaranteed order across the partition key values.
6969

70+
> [!NOTE]
71+
> For [multi-region write](multi-region-writes.md) accounts, there are two timestamps:
72+
> - The server epoch time at which the record was written in the local region. This is recorded as `_ts`.
73+
> - The epoch time at which the absence of a conflict was confirmed, or the conflict was resolved in the [hub region](multi-region-writes.md#hub-region) for that record. This is recorded as `crts`.
74+
> Change feed items come in the order recorded by `crts`.
75+
76+
7077
### Change feed in multi-region Azure Cosmos DB accounts
7178

7279
In a multi-region Azure Cosmos DB account, changes in one region are available in all regions. If a write-region fails over, change feed works across the manual failover operation, and it's contiguous. For accounts with multiple write regions, there's no guarantee of when changes will be available. Incoming changes to the same document may be dropped in latest version mode if there was a more recent change in another region, and all changes will be captured in all versions and deletes mode.

articles/cosmos-db/get-latest-restore-timestamp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ This article describes how to get the [latest restorable timestamp](latest-resto
1818

1919
This feature is supported for Azure Cosmos DB API for NoSQL containers, API for MongoDB , Table API and API for Gremlin graphs.
2020

21+
> [!IMPORTANT]
22+
> For [multi-region write](multi-region-writes.md) accounts, the latest restorable timestamp is determinded by a [conflict resolution timestamp (`crts`)](multi-region-writes.md#understanding-timestamps). This is not returned by the methods listed below. See GitHub sample [here](https://github.com/Azure-Samples/cosmosdb-get-conflict-resolved-timestamp-from-changefeed) to learn how to consume Azure Cosmos DB's Change Feed and return documents with `ConflictResolvedTimestamp(crts)` in a container.
23+
2124
## SQL container
2225

2326
### PowerShell

articles/cosmos-db/gremlin/TOC.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,16 @@
185185
displayName: session, consistency prefix, strong, eventual, bounded staleness
186186
href: ../consistency-levels.md
187187
- name: High availability
188-
href: ../high-availability.md
189-
- name: Conflict types and resolution policies
190-
displayName: last write wins, custom, multi-region writes, multi-master
191-
href: ../conflict-resolution-policies.md
188+
items:
189+
- name: High availability overview
190+
href: ../high-availability.md
191+
- name: Multi-region writes
192+
items:
193+
- name: Understanding multi-region writes
194+
href: ../multi-region-writes.md
195+
- name: Conflict resolution
196+
displayName: last write wins, custom, multi-region writes, multi-master
197+
href: ../conflict-resolution-policies.md
192198
- name: Global distribution - under the hood
193199
href: ../global-dist-under-the-hood.md
194200
- name: Security

articles/cosmos-db/mongodb/TOC.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,16 @@
254254
- name: Mapping MongoDB consistency levels
255255
href: consistency-mapping.md
256256
- name: High availability
257-
href: ../high-availability.md
258-
- name: Conflict types and resolution policies
259-
displayName: last write wins, custom, multi-region writes, multi-master
260-
href: ../conflict-resolution-policies.md
257+
items:
258+
- name: High availability overview
259+
href: ../high-availability.md
260+
- name: Multi-region writes
261+
items:
262+
- name: Understanding multi-region writes
263+
href: ../multi-region-writes.md
264+
- name: Conflict resolution
265+
displayName: last write wins, custom, multi-region writes, multi-master
266+
href: ../conflict-resolution-policies.md
261267
- name: Global distribution - under the hood
262268
href: ../global-dist-under-the-hood.md
263269
- name: Security

articles/cosmos-db/nosql/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@
353353
items:
354354
- name: Understanding multi-region writes
355355
href: ../multi-region-writes.md
356-
- name: Conflict types and resolution policies
356+
- name: Conflict resolution
357357
displayName: last write wins, custom, multi-region writes, multi-master
358358
href: ../conflict-resolution-policies.md
359359
- name: Global distribution - under the hood

articles/cosmos-db/table/TOC.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,16 @@
191191
displayName: session, consistency prefix, strong, eventual, bounded staleness
192192
href: ../consistency-levels.md
193193
- name: High availability
194-
href: ../high-availability.md
195-
- name: Conflict types and resolution policies
196-
displayName: last write wins, custom, multi-region writes, multi-master
197-
href: ../conflict-resolution-policies.md
194+
items:
195+
- name: High availability overview
196+
href: ../high-availability.md
197+
- name: Multi-region writes
198+
items:
199+
- name: Understanding multi-region writes
200+
href: ../multi-region-writes.md
201+
- name: Conflict resolution
202+
displayName: last write wins, custom, multi-region writes, multi-master
203+
href: ../conflict-resolution-policies.md
198204
- name: Global distribution - under the hood
199205
href: ../global-dist-under-the-hood.md
200206
- name: Security

0 commit comments

Comments
 (0)