|
I ran this test with a build of commit hash b877bd0172b613e77365f29886d359e5230f1a3e on my own developer box (had to lower the cache size slightly).
mlaunch start --binarypath . --replicaset --nodes 2 --wiredTigerCacheSizeGB 15 --oplogSize 100000
|
And then manually set the slave delay such that rs.conf() was returning this:
replset:PRIMARY> rs.conf()
|
{
|
"_id" : "replset",
|
"version" : 2,
|
"protocolVersion" : NumberLong(1),
|
"writeConcernMajorityJournalDefault" : true,
|
"members" : [
|
{
|
"_id" : 0,
|
"host" : "localhost:27017",
|
"arbiterOnly" : false,
|
"buildIndexes" : true,
|
"hidden" : false,
|
"priority" : 1,
|
"tags" : {
|
|
},
|
"slaveDelay" : NumberLong(0),
|
"votes" : 1
|
},
|
{
|
"_id" : 1,
|
"host" : "localhost:27018",
|
"arbiterOnly" : false,
|
"buildIndexes" : true,
|
"hidden" : true,
|
"priority" : 0,
|
"tags" : {
|
|
},
|
"slaveDelay" : NumberLong(20),
|
"votes" : 1
|
}
|
],
|
"settings" : {
|
"chainingAllowed" : true,
|
"heartbeatIntervalMillis" : 2000,
|
"heartbeatTimeoutSecs" : 10,
|
"electionTimeoutMillis" : 10000,
|
"catchUpTimeoutMillis" : -1,
|
"catchUpTakeoverDelayMillis" : 30000,
|
"getLastErrorModes" : {
|
|
},
|
"getLastErrorDefaults" : {
|
"w" : 1,
|
"wtimeout" : 0
|
},
|
"replicaSetId" : ObjectId("5cc9ab09f67ec0abbb006e0f")
|
}
|
}
|
The metrics looked like this:

michael.cahill ian.whalen
As you can see, the insert counter doesn't have the same kind of periodic "U" shaped drops.
I believe this is ok to close if you're satisfied with this.
|