SV-96595r1_rule
V-81881
SRG-APP-000225-DB-000153
MD3X-00-000420
CAT II
10
Modify the mongod startup command-line options by removing the "--nojournal" option.
Edit the MongoDB database configuration file (default location: /etc/mongod.conf) to ensure it contains the following parameter setting:
storage:
journal:
enabled: true
Stop/start (restart) any or all mongod processes.
Journaling is enabled by default in 64-bit systems.
With journaling enabled, if mongod stops unexpectedly, the program can recover everything written to the journal.
MongoDB will re-apply the write operations on restart and maintain a consistent state. By default, the greatest extent of lost writes, i.e., those not made to the journal, are those made in the last 100 milliseconds, plus the time it takes to perform the actual journal writes.
Verify the mongod process startup options.
If the mongod process was started with the "--nojournal" option, this is a finding.
V-81881
False
MD3X-00-000420
Journaling is enabled by default in 64-bit systems.
With journaling enabled, if mongod stops unexpectedly, the program can recover everything written to the journal.
MongoDB will re-apply the write operations on restart and maintain a consistent state. By default, the greatest extent of lost writes, i.e., those not made to the journal, are those made in the last 100 milliseconds, plus the time it takes to perform the actual journal writes.
Verify the mongod process startup options.
If the mongod process was started with the "--nojournal" option, this is a finding.
M
3265