summaryrefslogtreecommitdiff
path: root/jstests/replsets/oplog_sampling.js
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2021-08-19 23:04:39 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-19 23:36:38 +0000
commit00f2ee65095bb32c4b4fdaff7a65e83f22695be1 (patch)
tree409c6d28439e4afc338c2dff11d1edaf3a1d2c5a /jstests/replsets/oplog_sampling.js
parente9ebf0db9011d7335339ab671c57b318d66eeb49 (diff)
downloadmongo-00f2ee65095bb32c4b4fdaff7a65e83f22695be1.tar.gz
SERVER-59445 Increase storage log verbosity in `oplog_sampling.js`
Diffstat (limited to 'jstests/replsets/oplog_sampling.js')
-rw-r--r--jstests/replsets/oplog_sampling.js11
1 files changed, 9 insertions, 2 deletions
diff --git a/jstests/replsets/oplog_sampling.js b/jstests/replsets/oplog_sampling.js
index 13094411f08..e68d976f06b 100644
--- a/jstests/replsets/oplog_sampling.js
+++ b/jstests/replsets/oplog_sampling.js
@@ -7,8 +7,15 @@
"use strict";
// Force oplog sampling to occur on start up for small numbers of oplog inserts.
-const replSet = new ReplSetTest(
- {nodes: 1, nodeOptions: {setParameter: {"maxOplogTruncationPointsDuringStartup": 10}}});
+const replSet = new ReplSetTest({
+ nodes: 1,
+ nodeOptions: {
+ setParameter: {
+ "maxOplogTruncationPointsDuringStartup": 10,
+ logComponentVerbosity: tojson({storage: {verbosity: 2}}),
+ }
+ }
+});
replSet.startSet();
replSet.initiate();