a.k.a YAML config file contents should === getCmdLineOpts.parsed
If you start a mongod instance with the following config file:
net:
port: 27002
processManagement:
fork: "true"
replication:
replSetName: blue
storage:
dbPath: /tmp/data/blue_2
syncPeriodSecs: 30
systemLog:
destination: file
path: /tmp/data/blue_2/mongodb.log
and then run getCmdLineOpts you will get back:
"parsed" : { "config" : "/tmp/data/blue_2/automation-mongod.conf", "net" : { "port" : 27002 }, "processManagement" : { "fork" : true }, "replication" : { "replSetName" : "blue" }, "storage" : { "dbPath" : "/tmp/data/blue_2", "mmapv1" : { "syncPeriodSecs" : 30 }, "wiredTiger" : { "engineConfig" : { "checkpointDelaySecs" : 30 } } }, "systemLog" : { "destination" : "file", "path" : "/tmp/data/blue_2/mongodb.log" } },
It seems unexpected that this includes wiredTiger options?
- is related to
-
SERVER-16132 implement directoryperdb under WiredTiger
- Closed