Skip to content

DOCS-14182 clarify retryable writes default #4914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions source/includes/extracts-4.2-changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -704,9 +704,15 @@ content: |
---
ref: 4.2-changes-drivers-retryWrites-default
content: |
The official MongoDB 3.6 and 4.0-compatible drivers required including the
:urioption:`retryWrites=true <retryWrites>` option in the :ref:`connection
string <mongodb-uri>` to enable retryable writes for that connection.
MongoDB 3.6 introduced support for :ref:`retryable-writes`, but most
official MongoDB 3.6 and 4.0-compatible drivers disabled this feature
by default. For such drivers, retryable writes could be enabled per
connection by including the :urioption:`retryWrites=true
<retryWrites>` option in the :ref:`connection string <mongodb-uri>`
for that connection. Refer to the `MongoDB Driver Documentation
<https://docs.mongodb.com/drivers/?tck=docs_server>`_ to determine
the correct default state of :urioption:`retryWrites` for your
specific driver and version.

The official MongoDB 4.2-compatible drivers enable :ref:`retryable-writes` by
default. Applications upgrading to the 4.2-compatible drivers that require
Expand Down