|
| 1 | +.. important:: |
| 2 | + |
| 3 | + If your replica set contains :doc:`delayed members |
| 4 | + </core/replica-set-delayed-member>` ensure that the delayed |
| 5 | + members are hidden and non-voting. |
| 6 | + |
| 7 | + Hiding delayed replica set members prevents applications from seeing |
| 8 | + and querying delayed data without a direct connection to that member. |
| 9 | + Making delayed replica set members non-voting means they will not |
| 10 | + count towards acknowledging write operations with read concern |
| 11 | + :readconcern:`"majority"`. |
| 12 | + |
| 13 | + If you do not hide delayed members and one or more nodes |
| 14 | + becomes unavailable, the replica set has to wait for the delayed |
| 15 | + member and the commit point lags. A lagged commit point can lead to |
| 16 | + performance issues. |
| 17 | + |
| 18 | + For example, consider a Primary-Secondary-Delayed replica set |
| 19 | + configuration where the delayed secondary is voting with a 10 |
| 20 | + minute delay. |
| 21 | + |
| 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"`. |
| 25 | + |
| 26 | + The majority commit point will take longer to advance, leading to cache |
| 27 | + pressure similar performance issues with a |
| 28 | + :ref:`Primary with a Secondary and an Arbiter<rs-architecture-psa>` |
| 29 | + (PSA) replica set. |
| 30 | + |
| 31 | + For more information on the majority commit point, see |
| 32 | + :doc:`Causal Consistency and Read and Write Concerns |
| 33 | + </core/causal-consistency-read-write-concerns>` for additional details |
| 34 | + on resolving performance issues see the |
| 35 | + :ref:`replica set maintenance tutorial<performance-issues-psa>`. |
0 commit comments