@@ -11,9 +11,7 @@ To guarantee causal consistency, client sessions must fulfill the
11
11
following requirements:
12
12
13
13
- When starting a session, the driver must enable the causal consistency
14
- option. This option is enabled by default. To learn more, see the
15
- :manual: `causalConsistency field </reference/method/Mongo.startSession/#mongodb-method-Mongo.startSession> `
16
- in the {+mdb-server+} manual.
14
+ option. This option is enabled by default.
17
15
18
16
- Operations must run in a single session on a single thread. Otherwise,
19
17
the sessions or threads must communicate the operation time and cluster
@@ -47,21 +45,10 @@ consistent sessions provide:
47
45
- If a write operation must precede other write operations, the server
48
46
runs this write operation first.
49
47
50
- For example, you can call |insert-one-method | to insert a document, then call
51
- |update-one-method | to modify the inserted document. If a secondary node receives
52
- your update operation and has not yet written the original insert operation to
53
- its :manual: `oplog </reference/glossary/#std-term-oplog> `, this operation is blocked
54
- until the secondary applies the changes from the insert.
55
-
56
48
* - Writes follow reads
57
- - If a write operation must follow other read operations, the driver runs
49
+ - If a write operation must follow other read operations, the server runs
58
50
the read operations first.
59
51
60
- For example, you can call |find-one-method | to retrieve a document, then call
61
- |delete-one-method | to delete the retrieved document. The server that receives
62
- the delete waits to run the operation until it applies the changes from the original
63
- find operation.
64
-
65
52
.. tip ::
66
53
67
54
To learn more about the concepts mentioned in this section, see the
0 commit comments