File tree Expand file tree Collapse file tree 11 files changed +131
-10
lines changed Expand file tree Collapse file tree 11 files changed +131
-10
lines changed Original file line number Diff line number Diff line change @@ -1821,6 +1821,7 @@ raw: /manual/core/wildcard -> ${base}/manual/core/index-wildcard/
1821
1821
[v3.6-v4.4]: /${version}/core/sharding-change-shard-key-value.txt -> ${base}/${version}/core/sharding-shard-key.txt
1822
1822
[v3.6-v4.4]: /${version}/core/sharding-set-missing-shard-key-fields.txt -> ${base}/${version}/core/sharding-shard-key.txt
1823
1823
[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
1824
1825
1825
1826
#
1826
1827
# Upgrade / Downgrade redirects
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ replica sets.
57
57
primary-secondary-arbiter (PSA) replica set or on a replica set that
58
58
is changing to a PSA architecture.
59
59
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
+
60
64
.. toctree::
61
65
:titlesonly:
62
66
:hidden:
@@ -72,3 +76,4 @@ replica sets.
72
76
/tutorial/configure-replica-set-secondary-sync-target
73
77
/tutorial/rename-unsharded-replica-set
74
78
/tutorial/modify-psa-replica-set-safely
79
+ /tutorial/mitigate-psa-performance-issues
Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ number of votes to break a tie:
48
48
49
49
.. end-content-even-votes-example
50
50
51
+ Performance Issues with PSA replica sets
52
+ ----------------------------------------
53
+
54
+ .. include:: /includes/fact-psa-performance-issues.rst
55
+
51
56
Replica Set Protocol Version and Arbiter
52
57
-----------------------------------------
53
58
Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change @@ -4165,6 +4165,10 @@ LDAP Parameters
4165
4165
and is always set to ``true``. In earlier versions of MongoDB,
4166
4166
:setting:`~replication.enableMajorityReadConcern` was configurable.
4167
4167
4168
+ .. warning::
4169
+
4170
+ .. include:: /includes/fact-psa-performance-issues.rst
4171
+
4168
4172
4169
4173
``sharding`` Options
4170
4174
~~~~~~~~~~~~~~~~~~~~
Original file line number Diff line number Diff line change @@ -1837,12 +1837,17 @@ Replication Options
1837
1837
*Default*: true
1838
1838
1839
1839
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,
1844
1844
:option:`--enableMajorityReadConcern` was configurable.
1845
1845
1846
+ .. warning::
1847
+
1848
+ .. include:: /includes/fact-psa-performance-issues.rst
1849
+
1850
+
1846
1851
Sharded Cluster Options
1847
1852
~~~~~~~~~~~~~~~~~~~~~~~
1848
1853
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ Availability
42
42
Read concern :readconcern:`"majority"` is available for use with or
43
43
without causally consistent sessions and transactions.
44
44
45
+ .. warning::
46
+
47
+ .. include:: /includes/fact-psa-performance-issues.rst
48
+
45
49
Example
46
50
-------
47
51
@@ -130,11 +134,15 @@ Read Your Own Writes
130
134
131
135
.. include:: /includes/fact-read-own-writes.rst
132
136
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
+ --------------------------------------
139
145
140
146
.. include:: /includes/fact-eMRC-always-true-in-5.0.rst
147
+
148
+ .. include:: /includes/fact-psa-performance-issues.rst
Original file line number Diff line number Diff line change @@ -145,6 +145,8 @@ Replica Sets
145
145
146
146
.. include:: /includes/fact-eMRC-always-true-in-5.0.rst
147
147
148
+ .. include:: /includes/fact-psa-performance-issues.rst
149
+
148
150
``secondaryDelaySecs`` Configuration Setting
149
151
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150
152
Original file line number Diff line number Diff line change @@ -263,6 +263,8 @@ limited to an integer between ``0`` and ``255`` inclusive.
263
263
264
264
.. include:: /includes/fact-eMRC-always-true-in-5.0.rst
265
265
266
+ .. include:: /includes/fact-psa-performance-issues.rst
267
+
266
268
Enhanced Thread Pool Timeout Control
267
269
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
268
270
Original file line number Diff line number Diff line change @@ -34,6 +34,11 @@ server or a monitoring host.
34
34
Considerations
35
35
--------------
36
36
37
+ Primary-Secondary-Arbiter Replica Sets
38
+ --------------------------------------
39
+
40
+ .. include:: /includes/fact-psa-performance-issues.rst
41
+
37
42
Replica Set Protocol Version
38
43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
39
44
You can’t perform that action at this time.
0 commit comments