diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2020-02-27 00:32:09 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-02 19:10:35 +0000 |
commit | 8c0293225af97f60131db8754f89be24cfd42174 (patch) | |
tree | 3d482dd61f55a35a807e5f37f8533d523ce537b5 /jstests/noPassthrough/mirror_reads.js | |
parent | e29b8e770f26bfd3f9f4529ed139fcd19cfd2b2d (diff) | |
download | mongo-8c0293225af97f60131db8754f89be24cfd42174.tar.gz |
SERVER-45818 Rework read mirroring infrastructure
This commit:
- Fixes a busy polling bug in the TopologyVersionObserver
- Alters the MirroringSampler to sample in bursts
- Adjusts the MirrorMaestro to make use of the changed MirroringSampler
- Disables update command mirroring temporarily
Diffstat (limited to 'jstests/noPassthrough/mirror_reads.js')
-rw-r--r-- | jstests/noPassthrough/mirror_reads.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/mirror_reads.js b/jstests/noPassthrough/mirror_reads.js index 692a9ada958..03d6772ddad 100644 --- a/jstests/noPassthrough/mirror_reads.js +++ b/jstests/noPassthrough/mirror_reads.js @@ -45,7 +45,7 @@ function sendAndCheckReads({rst, cmd, minRate, maxRate}) { let numNodes = rst.getSecondaries().length; jsTestLog(`Seen ${readsSeen} requests; ` + - `verified ${readsMirrored / 2} requests ` + + `verified ${readsMirrored / numNodes} requests ` + `x ${numNodes} nodes`); let rate = readsMirrored / readsSeen / numNodes; |