Skip to content

Commit ba9e7d0

Browse files
jmd-mongojeff-allen-mongo
authored andcommitted
DOCSP-16202 reconfigs that would change the implicit default write concern require that a prior cluster-wide write concern be set
1 parent 27d472d commit ba9e7d0

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Starting in MongoDB 5.0, you must explicitly set the global default
2+
:ref:`write concern <write-concern>` before attempting to reconfigure a
3+
:term:`replica set <replica set>` with a
4+
:doc:`configuration </reference/replica-configuration>`
5+
that would change the implicit default write concern. To set the global
6+
default write concern, use the :dbcommand:`setDefaultRWConcern` command.

source/reference/command/replSetReconfig.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ replSetReconfig
7272
Behavior
7373
--------
7474

75+
Global Write Concern
76+
~~~~~~~~~~~~~~~~~~~~
77+
78+
.. include:: /includes/fact-set-global-write-concern-before-reconfig.rst
79+
7580
``term`` Replica Configuration Field
7681
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7782

source/reference/method/rs.reconfig.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ Definition
9696
Behavior
9797
--------
9898

99+
Global Write Concern
100+
~~~~~~~~~~~~~~~~~~~~
101+
102+
.. include:: /includes/fact-set-global-write-concern-before-reconfig.rst
103+
99104
``term`` Replica Configuration Field
100105
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
101106

source/release-notes/5.0-compatibility.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ General Changes
288288
currently logged in as an existing user will write a warning to the
289289
log once per authentication attempt.
290290

291+
- .. include:: /includes/fact-set-global-write-concern-before-reconfig.rst
292+
291293
Deprecations
292294
~~~~~~~~~~~~
293295

0 commit comments

Comments
 (0)