Skip to content

Commit 4e7fb0b

Browse files
authored
DOCSP-33304 Clarify Mirrored Reads (#4945) (#5160)
* DOCSP-33304 Clarify Mirrored Reads * * * punctuation
1 parent 354caf7 commit 4e7fb0b

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
@@ -270,16 +270,16 @@ samplingRate: 0.0 }``:
270270

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

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

0 commit comments

Comments
 (0)