Skip to content

Commit 78068d9

Browse files
npentreljeff-allen-mongo
authored andcommitted
DOCS-14598: Address eMRC=true PSA cache pressure
1 parent 5d3e927 commit 78068d9

File tree

11 files changed

+131
-10
lines changed

11 files changed

+131
-10
lines changed

config/redirects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,6 +1821,7 @@ raw: /manual/core/wildcard -> ${base}/manual/core/index-wildcard/
18211821
[v3.6-v4.4]: /${version}/core/sharding-change-shard-key-value.txt -> ${base}/${version}/core/sharding-shard-key.txt
18221822
[v3.6-v4.4]: /${version}/core/sharding-set-missing-shard-key-fields.txt -> ${base}/${version}/core/sharding-shard-key.txt
18231823
[v3.6-v4.4]: /${version}/core/sharding-find-shard-key.txt -> ${base}/${version}/core/sharding-shard-key.txt
1824+
[v5.0-*]: /${version}/reference/read-concern-majority/#disable-read-concern-majority -> ${base}/${version}/reference/read-concern-majority/#primary-secondary-arbiter-replica-sets
18241825

18251826
#
18261827
# Upgrade / Downgrade redirects

source/administration/replica-set-maintenance.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ replica sets.
5757
primary-secondary-arbiter (PSA) replica set or on a replica set that
5858
is changing to a PSA architecture.
5959

60+
:doc:`/tutorial/mitigate-psa-performance-issues`
61+
Reduce cache pressure and increased write traffic for a deployment
62+
that has a three-member primary-secondary-arbiter (PSA) architecture.
63+
6064
.. toctree::
6165
:titlesonly:
6266
:hidden:
@@ -72,3 +76,4 @@ replica sets.
7276
/tutorial/configure-replica-set-secondary-sync-target
7377
/tutorial/rename-unsharded-replica-set
7478
/tutorial/modify-psa-replica-set-safely
79+
/tutorial/mitigate-psa-performance-issues

source/core/replica-set-arbiter.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ number of votes to break a tie:
4848

4949
.. end-content-even-votes-example
5050

51+
Performance Issues with PSA replica sets
52+
----------------------------------------
53+
54+
.. include:: /includes/fact-psa-performance-issues.rst
55+
5156
Replica Set Protocol Version and Arbiter
5257
-----------------------------------------
5358

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
If you are using a three-member primary-secondary-arbiter (PSA)
2+
architecture, the write concern :writeconcern:`"majority"` can cause
3+
performance issues if a secondary is unavailable or lagging. See
4+
:ref:`performance-issues-psa` for advice on how to mitigate these
5+
issues.

source/reference/configuration-options.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4165,6 +4165,10 @@ LDAP Parameters
41654165
and is always set to ``true``. In earlier versions of MongoDB,
41664166
:setting:`~replication.enableMajorityReadConcern` was configurable.
41674167

4168+
.. warning::
4169+
4170+
.. include:: /includes/fact-psa-performance-issues.rst
4171+
41684172

41694173
``sharding`` Options
41704174
~~~~~~~~~~~~~~~~~~~~

source/reference/program/mongod.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,12 +1837,17 @@ Replication Options
18371837
*Default*: true
18381838

18391839
Configures support for :readconcern:`"majority"` read concern.
1840-
1841-
Starting in MongoDB 5.0,
1842-
:option:`--enableMajorityReadConcern` cannot be changed
1843-
and is always set to ``true``. In earlier versions of MongoDB,
1840+
1841+
Starting in MongoDB 5.0,
1842+
:option:`--enableMajorityReadConcern` cannot be changed
1843+
and is always set to ``true``. In earlier versions of MongoDB,
18441844
:option:`--enableMajorityReadConcern` was configurable.
18451845

1846+
.. warning::
1847+
1848+
.. include:: /includes/fact-psa-performance-issues.rst
1849+
1850+
18461851
Sharded Cluster Options
18471852
~~~~~~~~~~~~~~~~~~~~~~~
18481853

source/reference/read-concern-majority.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ Availability
4242
Read concern :readconcern:`"majority"` is available for use with or
4343
without causally consistent sessions and transactions.
4444

45+
.. warning::
46+
47+
.. include:: /includes/fact-psa-performance-issues.rst
48+
4549
Example
4650
-------
4751

@@ -130,11 +134,15 @@ Read Your Own Writes
130134

131135
.. include:: /includes/fact-read-own-writes.rst
132136

133-
.. _disable-read-concern-majority:
134-
135-
Disable Read Concern Majority
136-
-----------------------------
137-
138-
*For 3-Member Primary-Secondary-Arbiter Architecture*
137+
.. _disable-read-concern-majority:
138+
139+
140+
.. If you change this headline please also change the redirect that
141+
.. links from #disable-read-concern-majority to this headline.
142+
143+
Primary-Secondary-Arbiter Replica Sets
144+
--------------------------------------
139145

140146
.. include:: /includes/fact-eMRC-always-true-in-5.0.rst
147+
148+
.. include:: /includes/fact-psa-performance-issues.rst

source/release-notes/5.0-compatibility.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ Replica Sets
145145

146146
.. include:: /includes/fact-eMRC-always-true-in-5.0.rst
147147

148+
.. include:: /includes/fact-psa-performance-issues.rst
149+
148150
``secondaryDelaySecs`` Configuration Setting
149151
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150152

source/release-notes/5.0.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ limited to an integer between ``0`` and ``255`` inclusive.
263263

264264
.. include:: /includes/fact-eMRC-always-true-in-5.0.rst
265265

266+
.. include:: /includes/fact-psa-performance-issues.rst
267+
266268
Enhanced Thread Pool Timeout Control
267269
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
268270

source/tutorial/add-replica-set-arbiter.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ server or a monitoring host.
3434
Considerations
3535
--------------
3636

37+
Primary-Secondary-Arbiter Replica Sets
38+
--------------------------------------
39+
40+
.. include:: /includes/fact-psa-performance-issues.rst
41+
3742
Replica Set Protocol Version
3843
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3944

0 commit comments

Comments
 (0)