Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/causal-consistency/causal-consistency.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ There are no new server commands related to causal consistency. Instead, causal
The server reports the `operationTime` whether the operation succeeded or not and drivers MUST save the
`operationTime` in the `ClientSession` whether the operation succeeded or not.
2. Passing that `operationTime` in the `afterClusterTime` field of the `readConcern` field for subsequent causally
consistent read operations (for all commands that support a `readConcern`)
consistent read and write operations (for all commands that support a `readConcern`)
Comment thread
rozza marked this conversation as resolved.
3. Gossiping clusterTime (described in the Driver Session Specification)

## Server Command Responses
Expand Down Expand Up @@ -230,10 +230,10 @@ standalone node are causally consistent automatically because there is only one
When connected to a deployment that supports cluster times the command response also includes a field called
`$clusterTime` that drivers MUST use to gossip the cluster time. See the Sessions Specification for details.

## Causally consistent read commands
## Causally consistent read and write commands

For causal consistency the driver MUST send the `operationTime` saved in the `ClientSession` as the value of the
`afterClusterTime` field of the `readConcern` field:
`afterClusterTime` field of the `readConcern` field for read and write commands:

```typescript
{
Expand Down
Loading
Loading