File tree Expand file tree Collapse file tree 3 files changed +57
-6
lines changed Expand file tree Collapse file tree 3 files changed +57
-6
lines changed Original file line number Diff line number Diff line change @@ -1984,6 +1984,33 @@ The following parameters support diagnostic data capture (FTDC):
19841984Replication and Consistency
19851985~~~~~~~~~~~~~~~~~~~~~~~~~~~
19861986
1987+ .. parameter:: enableOverrideClusterChainingSetting
1988+
1989+ .. versionadded:: 5.0.2
1990+
1991+ |both|
1992+
1993+ *Type*: boolean
1994+
1995+ *Default*: false
1996+
1997+ If :parameter:`enableOverrideClusterChainingSetting` is ``true``,
1998+ replica set :term:`secondary` members can replicate data from
1999+ other secondary members even if :rsconf:`settings.chainingAllowed` is
2000+ ``false``.
2001+
2002+ You can only set :parameter:`enableOverrideClusterChainingSetting` at
2003+ startup and cannot change this setting with the
2004+ :dbcommand:`setParameter` command.
2005+
2006+ For example, to set the
2007+ :parameter:`enableOverrideClusterChainingSetting` for a
2008+ :binary:`~bin.mongod` instance to ``true``:
2009+
2010+ .. code-block:: bash
2011+
2012+ mongod --setParameter enableOverrideClusterChainingSetting=true
2013+
19872014.. parameter:: logicalSessionRefreshMillis
19882015
19892016 .. note:: Availability
Original file line number Diff line number Diff line change @@ -467,11 +467,27 @@ Replica Set Configuration Fields
467467
468468 *Default*: true
469469
470- When :rsconf:`settings.chainingAllowed` is
471- ``true``, the replica set allows :term:`secondary` members to
472- replicate from other secondary members. When
473- :rsconf:`settings.chainingAllowed` is
474- ``false``, secondaries can replicate only from the :term:`primary`.
470+ In MongoDB 5.0.1 and earlier, if
471+ :rsconf:`settings.chainingAllowed` is:
472+
473+ - ``true``, replica set :term:`secondary` members can
474+ replicate data from other secondary members.
475+
476+ - ``false``, secondary members can replicate data only from the
477+ :term:`primary`.
478+
479+ Starting in MongoDB 5.0.2:
480+
481+ - Replica set :term:`secondary` members can
482+ replicate data from other secondary members even if
483+ :rsconf:`settings.chainingAllowed` is ``false``.
484+
485+ - To override :rsconf:`settings.chainingAllowed`, set the
486+ :parameter:`enableOverrideClusterChainingSetting` server
487+ parameter to ``true``.
488+
489+ - The default for
490+ :parameter:`enableOverrideClusterChainingSetting` is ``false``.
475491
476492 .. seealso::
477493
Original file line number Diff line number Diff line change @@ -455,6 +455,15 @@ re-evaluating a sync source. This parameter will not prevent a node
455455from starting to sync from another node if it doesn't have a sync
456456source.
457457
458+ ``enableOverrideClusterChainingSetting`` Server Parameter
459+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
460+
461+ Starting in MongoDB 5.0.2, you can set the new
462+ :parameter:`enableOverrideClusterChainingSetting` server parameter to
463+ ``true`` to allow :term:`secondary` members to replicate data from other
464+ secondary members even if :rsconf:`settings.chainingAllowed` is
465+ ``false``.
466+
458467.. _5.0-rel-notes-security:
459468
460469Security
@@ -588,7 +597,6 @@ This parameter can affect the behavior of:
588597 :dbcommand:`moveChunk` commands to evenly distribute chunks across
589598 shards. See :ref:`sharding-balancing`.
590599
591-
592600.. _5.0-rel-notes-shell:
593601
594602Shell Changes
You can’t perform that action at this time.
0 commit comments