File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -499,4 +499,15 @@ content: |
499
499
500
500
Starting in version 4.4, MongoDB ignores the :ref:`verbose
501
501
<cmd-mapreduce-verbose>` option.
502
+ ---
503
+ ref : 4.4-changes-getLastErrorDefaults-deprecation
504
+ content : |
505
+
506
+ Starting in version 4.4, MongoDB deprecates specifying a
507
+ :rsconf:`settings.getLastErrorDefaults` value other than the default
508
+ of ``{ w: 1, wtimeout: 0 }``. MongoDB 4.4 honors any write concern
509
+ value that you specify, however future MongoDB versions might not
510
+ honor values other than the default. Instead, use the
511
+ :dbcommand:`setDefaultRWConcern` command to set the default read or
512
+ write concern configuration for a replica set or sharded cluster.
502
513
...
Original file line number Diff line number Diff line change @@ -473,6 +473,10 @@ Replica Set Configuration Fields
473
473
not set, the default write concern for the replica set only
474
474
requires confirmation from the primary.
475
475
476
+ .. important::
477
+
478
+ .. include:: /includes/extracts/4.4-changes-getLastErrorDefaults-deprecation.rst
479
+
476
480
.. rsconf:: settings.getLastErrorModes
477
481
478
482
*Optional*.
Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ Initial Sync Restrictions on Operations
61
61
62
62
.. include:: /includes/extracts/4.4-changes-repl-state-restrictions.rst
63
63
64
+ Custom ``getLastErrorDefaults`` Values Deprecated
65
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66
+
67
+ .. include:: /includes/extracts/4.4-changes-getLastErrorDefaults-deprecation.rst
68
+
64
69
Projection Compatibility Changes
65
70
--------------------------------
66
71
You can’t perform that action at this time.
0 commit comments