Skip to content

Commit ab07da6

Browse files
authored
DOCSP-33304 Clarify Mirrored Reads (#4945) (#5161)
* DOCSP-33304 Clarify Mirrored Reads * * * punctuation
1 parent d20bbdb commit ab07da6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/replication.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -271,16 +271,16 @@ samplingRate: 0.0 }``:
271271

272272
With a sampling rate greater than ``0.0``, the primary mirrors
273273
:ref:`supported reads <mirrored-reads-supported-operations>` to a subset
274-
of :rsconf:`electable <members[n].priority>` secondaries. With a
275-
sampling rate of ``0.01``, the primary mirrors one percent of the
276-
supported reads it receives to each electable secondary.
277-
278-
Consider a replica set that consists of one primary and two electable
279-
secondaries. If the primary receives ``1000`` operations that can be
280-
mirrored and the sampling rate is ``0.01``, the primary sends
281-
about ``10`` reads to electable secondaries. Each electable secondary
282-
receives only a fraction of the 10 reads. Each read that is mirrored, is
283-
sent to a randomly chosen non-empty selection of electable secondaries.
274+
of :rsconf:`electable <members[n].priority>` secondaries. With a sampling rate
275+
of ``0.01``, the primary mirrors one percent of the supported reads it receives
276+
to a selection of electable secondaries.
277+
278+
For example, consider a replica set that consists of one primary and two
279+
electable secondaries. If the primary receives ``1000`` operations that can be
280+
mirrored and the sampling rate is ``0.01``, the primary mirrors about ``10``
281+
supported reads to electable secondaries. Each electable secondary receives only
282+
a fraction of the 10 reads. The primary sends each mirrored read to a randomly
283+
chosen, non-empty selection of electable secondaries.
284284

285285
Change the Sampling Rate for Mirrored Reads
286286
```````````````````````````````````````````

0 commit comments

Comments
 (0)