File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -112,6 +112,14 @@ specified for the operation:
112112In the legacy ``mongo`` shell, these operations use the specified read
113113preference.
114114
115+ Write Preference Behavior
116+ -------------------------
117+
118+ :ref:`Retryable writes <retryable-writes>` are enabled by default in
119+ :binary:`mongosh`. Retryable writes were disabled by default in the
120+ legacy :binary:`mongo` shell. To disable retryable writes, use
121+ :option:`--retryWrites=false <mongosh --retryWrites>`.
122+
115123Numeric Values
116124--------------
117125
Original file line number Diff line number Diff line change @@ -452,8 +452,10 @@ Session Options
452452
453453.. option:: --retryWrites
454454
455- Enables :manual:`retryable writes </core/retryable-writes/>` as the
456- default for sessions in the |mdb-shell|.
455+ Enables :ref:`retryable-writes`. Retryable writes are enabled by
456+ default in :binary:`mongosh`. Retryable writes are disabled by
457+ default in the legacy :binary:`mongo` shell. To disable retryable
458+ writes, use :option:`--retryWrites=false <mongosh --retryWrites>`.
457459
458460 For more information on sessions, see :ref:`sessions`.
459461
You can’t perform that action at this time.
0 commit comments