Skip to content

DOCSP-16202 reconfigs that would change the implicit default write co… #5456

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
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Starting in MongoDB 5.0, you must explicitly set the global default
:ref:`write concern <write-concern>` before attempting to reconfigure a
:term:`replica set <replica set>` with a
:doc:`configuration </reference/replica-configuration>`
that would change the implicit default write concern. To set the global
default write concern, use the :dbcommand:`setDefaultRWConcern` command.
5 changes: 5 additions & 0 deletions source/reference/command/replSetReconfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ replSetReconfig
Behavior
--------

Global Write Concern
~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/fact-set-global-write-concern-before-reconfig.rst

``term`` Replica Configuration Field
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
5 changes: 5 additions & 0 deletions source/reference/method/rs.reconfig.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ Definition
Behavior
--------

Global Write Concern
~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/fact-set-global-write-concern-before-reconfig.rst

``term`` Replica Configuration Field
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 2 additions & 0 deletions source/release-notes/5.0-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,8 @@ General Changes
currently logged in as an existing user will write a warning to the
log once per authentication attempt.

- .. include:: /includes/fact-set-global-write-concern-before-reconfig.rst

Deprecations
~~~~~~~~~~~~

Expand Down