Skip to content

Commit 55f0143

Browse files
committed
Merge branch 'master' of https://github.com/MicrosoftDocs/azure-docs-pr into ETL2
2 parents ace7528 + 9414d0a commit 55f0143

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/cosmos-db/TOC.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -759,14 +759,6 @@
759759
items:
760760
- name: 1 - Query data
761761
href: tutorial-query-graph.md
762-
- name: Reference
763-
items:
764-
- name: Response Headers
765-
href: gremlin-headers.md
766-
- name: Limits
767-
href: gremlin-limits.md
768-
- name: Compatibility
769-
href: gremlin-compatibility.md
770762
- name: How-to guides
771763
items:
772764
- name: Graph data modeling
@@ -794,6 +786,14 @@
794786
href: powershell-samples-gremlin.md
795787
- name: Manage using Azure CLI
796788
href: cli-samples-gremlin.md
789+
- name: Reference
790+
items:
791+
- name: Response Headers
792+
href: gremlin-headers.md
793+
- name: Limits
794+
href: gremlin-limits.md
795+
- name: Compatibility
796+
href: gremlin-compatibility.md
797797
- name: Table API
798798
items:
799799
- name: Overview

articles/cosmos-db/change-feed-design-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ For example, consider a retail application using the event sourcing design patte
9393

9494
1. Customer adds Item A to their shopping cart
9595
2. Customer adds Item B to their shopping cart
96-
3. Customer adds removes Item A from their shopping cart
96+
3. Customer removes Item A from their shopping cart
9797
4. Customer checks out and shopping cart contents are shipped
9898

9999
A materialized view of current shopping cart contents is maintained for each customer. This application must ensure that these events are processed in the order in which they occur. If, for example, the cart checkout were to be processed before Item A's removal, it is likely that the customer would have had Item A shipped, as opposed to the desired Item B. In order to guarantee that these four events are processed in order of their occurrence, they should fall within the same partition key value. If you select **username** (each customer has a unique username) as the partition key, you can guarantee that these events show up in the change feed in the same order in which they are written to Azure Cosmos DB.

0 commit comments

Comments
 (0)