Details
Description
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?
Attachments
Issue Links
- is documented by
-
DOCS-4629 Update storage.syncPeriodSecs description to indicate that it is effective both for MMAPv1 and for WiredTiger
-
- Closed
-
- is related to
-
SERVER-16132 implement directoryperdb under WiredTiger
-
- Closed
-