File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ before they ever become visible.
29
29
30
30
In MongoDB, transactions run within logical **sessions**. A
31
31
session is a grouping of related read or write operations that you
32
- intend to run sequentially.
32
+ intend to run sequentially. Sessions allow you to run operations
33
+ in an ACID-compliant transaction, which is a transaction that meets
34
+ an expectation of atomicity, consistency, isolation, and durability.
33
35
34
36
When using the {+driver-short+}, you can create a new session from a
35
37
``MongoClient`` instance as a ``ClientSession`` type. We recommend that you reuse
@@ -51,8 +53,7 @@ instantiating a new client each time.
51
53
Causal Consistency
52
54
~~~~~~~~~~~~~~~~~~
53
55
54
- MongoDB enables **causal consistency** in client sessions, which allows
55
- you to execute operations in an :website:`ACID transaction </basics/acid-transactions>`.
56
+ MongoDB enables **causal consistency** in client sessions.
56
57
The causal consistency model guarantees that operations within a session
57
58
run in a causal order. Additionally, clients observe results that
58
59
are consistent with the causal relationships, or the dependencies between
You can’t perform that action at this time.
0 commit comments