Skip to content

Commit cc84cd1

Browse files
Merge pull request #233175 from jcocchi/update-session-cache
Cosmos DB: update session consistency integrated cache guidance
2 parents e32a1cf + 8881941 commit cc84cd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/cosmos-db/integrated-cache.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Item cache is used for point reads (key/value look ups based on the Item ID and
5555

5656
- New writes, updates, and deletes are automatically populated in the item cache of the node that the request is routed through
5757
- Items from point read requests where the item isn’t already in the cache (cache miss) of the node the request is routed through are added to the item cache
58-
- Requests that are part of a [transactional batch](./nosql/transactional-batch.md) or written in [bulk mode](./nosql/how-to-migrate-from-bulk-executor-library.md#enable-bulk-support) don't populate the item cache
58+
- Requests that are part of a [transactional batch](./nosql/transactional-batch.md) or in [bulk mode](./nosql/how-to-migrate-from-bulk-executor-library.md#enable-bulk-support) don't populate the item cache
5959

6060
### Item cache invalidation and eviction
6161

@@ -101,7 +101,7 @@ The easiest way to configure either session or eventual consistency for all read
101101
102102
### Session consistency
103103

104-
[Session consistency](consistency-levels.md#session-consistency) is the most widely used consistency level for both single region and globally distributed Azure Cosmos DB accounts. With session consistency, single client sessions can read their own writes. Clients outside of the session performing writes will see eventual consistency when they are using the integrated cache.
104+
[Session consistency](consistency-levels.md#session-consistency) is the most widely used consistency level for both single region and globally distributed Azure Cosmos DB accounts. With session consistency, single client sessions can read their own writes. Any reads with session consistency that don't have a matching session token will incur RU charges. This includes the first request for a given item or query when the client application is started or restarted, unless you explicitly pass a valid session token. Clients outside of the session performing writes will see eventual consistency when they are using the integrated cache.
105105

106106
## MaxIntegratedCacheStaleness
107107

0 commit comments

Comments
 (0)