-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DOCS-14695-Upgrading language strength with regards to hidden delayed… (
#5790) * DOCS-14695-Upgrading language strength with regards to hidden delayed members * DOCS-14695-Upgrading language strength with regards to hidden delayed members
- Loading branch information
1 parent
01342e3
commit 3e1a246
Showing
3 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
.. important:: | ||
|
||
If your replica set contains :doc:`delayed members | ||
</core/replica-set-delayed-member>` ensure that the delayed | ||
members are hidden and non-voting. | ||
|
||
Hiding delayed replica set members prevents applications from seeing | ||
and querying delayed data without a direct connection to that member. | ||
Making delayed replica set members non-voting means they will not | ||
count towards acknowledging write operations with write concern | ||
:writeconcern:`"majority"`. | ||
|
||
If you do not hide delayed members and one or more nodes | ||
become unavailable, the replica set has to wait for the delayed | ||
member and the commit point lags. A lagged commit point can lead to | ||
performance issues. | ||
|
||
For example, consider a Primary-Secondary-Delayed replica set | ||
configuration where the delayed secondary is voting with a 10 | ||
minute delay. | ||
|
||
With one non-delayed secondary unavailable, the degraded configuration | ||
of Primary-Delayed must wait at least 10 minutes to acknowledge a write | ||
operation with :writeconcern:`"majority"`.The majority commit point | ||
will take longer to advance, leading to cache pressure similar | ||
performance issues with a | ||
:ref:`Primary with a Secondary and an Arbiter<rs-architecture-psa>` | ||
(PSA) replica set. | ||
|
||
For more information on the majority commit point, see | ||
:doc:`Causal Consistency and Read and Write Concerns | ||
</core/causal-consistency-read-write-concerns>`. For additional | ||
details on resolving performance issues see the | ||
:ref:`replica set maintenance tutorial<performance-issues-psa>`. |