Skip to content

Commit 4de542e

Browse files
committed
DOCS-14695-Upgrading language strength with regards to hidden delayed members
1 parent d19a232 commit 4de542e

File tree

2 files changed

+25
-13
lines changed

2 files changed

+25
-13
lines changed

source/core/replica-set-delayed-member.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ Delayed members:
4343
members. Always prevent applications from seeing and querying
4444
delayed members.
4545

46-
- *Do* vote in :term:`elections <election>` for primary, if :rsconf:`members[n].votes` is set to 1.
46+
- *Do* vote in :term:`elections <election>` for primary, if
47+
:rsconf:`members[n].votes` is set to 1. Ensuring that delayed members
48+
are non-voting by setting :rsconf:`members[n].votes` to 0 can help
49+
improve performance.
50+
51+
.. include:: /includes/important-delayed-replica-set-members.rst
4752

4853
.. include:: /includes/important-delayed-replica-set-members.rst
4954

source/includes/important-delayed-replica-set-members.rst

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,28 @@
77
Hiding delayed replica set members prevents applications from seeing
88
and querying delayed data without a direct connection to that member.
99
Making delayed replica set members non-voting means they will not
10-
count towards acknowledging write operations with read concern
11-
:readconcern:`"majority"`.
10+
count towards acknowledging write operations with write concern
11+
:writeconcern:`"majority"`.
1212

1313
If you do not hide delayed members and one or more nodes
14-
becomes unavailable, the replica set has to wait for the delayed
14+
become unavailable, the replica set has to wait for the delayed
1515
member and the commit point lags. A lagged commit point can lead to
1616
performance issues.
1717

18-
For example:
18+
For example, consider a Primary-Secondary-Delayed replica set
19+
configuration where the delayed secondary is voting with a 10
20+
minute delay.
1921

20-
- Primary-Secondary-Delayed replica set config where delayed
21-
secondary is voting with 10 mins delay.
22-
- With one non-delayed secondary unavailable, the degraded config of
23-
Primary-Delayed will have to wait at least 10 minutes for a write
24-
concern with majority to be acknowledged.
25-
- The majority commit point will take longer to advance leading to
26-
cache pressure similar to performance issues with a PSA replica
27-
set.
22+
With one non-delayed secondary unavailable, the degraded configuration
23+
of Primary-Delayed must wait at least 10 minutes to acknowledge a write
24+
operation with :writeconcern:`"majority"`.The majority commit point
25+
will take longer to advance, leading to cache pressure similar
26+
performance issues with a
27+
:ref:`Primary with a Secondary and an Arbiter<rs-architecture-psa>`
28+
(PSA) replica set.
29+
30+
For more information on the majority commit point, see
31+
:doc:`Causal Consistency and Read and Write Concerns
32+
</core/causal-consistency-read-write-concerns>`. For additional
33+
details on resolving performance issues see the
34+
:ref:`replica set maintenance tutorial<performance-issues-psa>`.

0 commit comments

Comments
 (0)