Configuration File Settings and Command-Line Options Mapping
This version of the documentation is archived and no longer supported. View the current documentation to learn how to upgrade your version of MongoDB server.
The following table maps the configuration file settings and the related mongod
and mongos
command-line options.
Configuration File Setting | mongod and mongos Command-Line Options |
---|---|
ChangeLog
- Starting in version 6.1:
- MongoDB always enables journaling. As a result, MongoDB removes the
storage.journal.enabled
option and the corresponding--journal
and--nojournal
command-line options. - Starting in version 5.0:
MongoDB removes the
--serviceExecutor
command-line option and the correspondingnet.serviceExecutor
configuration option.For earlier versions of MongoDB, refer to the corresponding version of the manual. For example: