File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -643,11 +643,19 @@ You can set the transaction-level :doc:`write concern
643
643
concern for the commit.
644
644
645
645
- If the transaction-level write concern and the session-level write
646
- concern are unset, transaction-level write concern defaults to the
647
- client-level write concern. By default, client-level write concern is
648
- :writeconcern:`w: 1 <\<number\>>`. See also
649
- :doc:`/reference/mongodb-defaults`.
650
-
646
+ concern are unset, the transaction-level write concern defaults to the
647
+ client-level write concern of:
648
+
649
+ - :writeconcern:`w: "majority" <"majority">` in MongoDB 5.0 and later,
650
+ with differences for deployments containing :ref:`arbiters
651
+ <replica-set-arbiter-configuration>`. See
652
+ :ref:`wc-default-behavior`.
653
+
654
+ - :writeconcern:`w: 1 <\<number\>>` in MongoDB 4.4 and earlier.
655
+
656
+ .. seealso::
657
+
658
+ :doc:`/reference/mongodb-defaults`
651
659
652
660
Transactions support all write concern :ref:`w <wc-w>`
653
661
values, including:
You can’t perform that action at this time.
0 commit comments