|
journalCommitInterval and storage.journal.commitIntervalMs both add constraints on the parameter in:
https://github.com/10gen/mongo/blob/1eb33d31a32bb7d1a1a18e07c78239b90a9dd5d3/src/mongo/db/mongod_options_storage.idl#L102
https://github.com/10gen/mongo/blob/1eb33d31a32bb7d1a1a18e07c78239b90a9dd5d3/src/mongo/db/storage/storage_parameters.idl#L58
Additionally, there's validation in
https://github.com/10gen/mongo/blob/1eb33d31a32bb7d1a1a18e07c78239b90a9dd5d3/src/mongo/db/mongod_options.cpp#L436
I believe at least the check in mongod_options.cpp is redundant. Not sure about the relationship between mongod_options_storage.idl and storage_parameters.idl, but it also looks redundant.
|