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: |
499499
500500 Starting in version 4.4, MongoDB ignores the :ref:`verbose
501501 <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.
502513 ...
Original file line number Diff line number Diff line change @@ -473,6 +473,10 @@ Replica Set Configuration Fields
473473 not set, the default write concern for the replica set only
474474 requires confirmation from the primary.
475475
476+ .. important::
477+
478+ .. include:: /includes/extracts/4.4-changes-getLastErrorDefaults-deprecation.rst
479+
476480 .. rsconf:: settings.getLastErrorModes
477481
478482 *Optional*.
Original file line number Diff line number Diff line change @@ -61,6 +61,11 @@ Initial Sync Restrictions on Operations
6161
6262.. include:: /includes/extracts/4.4-changes-repl-state-restrictions.rst
6363
64+ Custom ``getLastErrorDefaults`` Values Deprecated
65+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
66+
67+ .. include:: /includes/extracts/4.4-changes-getLastErrorDefaults-deprecation.rst
68+
6469Projection Compatibility Changes
6570--------------------------------
6671
You can’t perform that action at this time.
0 commit comments