Skip to content

Commit bf7e414

Browse files
authored
add note about parallel operations (#94)
1 parent 94b84ba commit bf7e414

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/write/transactions.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ transaction that meets an expectation of atomicity, consistency, isolation, and
3434
guarantees that the data involved in your transaction operations remains
3535
consistent, even if the operations encounter unexpected errors.
3636

37+
.. note::
38+
39+
The {+driver-short+} does not support running parallel operations within a single transaction.
40+
3741
When using the {+driver-short+}, you can create a new session from a ``mongocxx::client`` instance.
3842
Then, you can use the resulting ``mongocxx::client_session`` instance to perform transactions.
3943
We recommend that you reuse your client for multiple sessions and transactions instead of

0 commit comments

Comments
 (0)