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.enabledoption and the corresponding--journaland--nojournalcommand-line options.- Starting in version 5.0:
MongoDB removes the
--serviceExecutorcommand-line option and the correspondingnet.serviceExecutorconfiguration option.For earlier versions of MongoDB, refer to the legacy documentation.