File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ content: |
47
47
:term:`replica set` member or backup, as described in :doc:`repair
48
48
</tutorial/recover-data-following-unexpected-shutdown>`.
49
49
50
+ .. include:: /includes/warning-disable-journaling.rst
51
+
50
52
To disable journaling, start :program:`mongod` with the
51
53
:option:`--nojournal <mongod --nojournal>` command line option.
52
54
---
Original file line number Diff line number Diff line change @@ -606,8 +606,15 @@ name: nojournal
606
606
args : null
607
607
directive : option
608
608
description : |
609
- Disables the durability journaling. The {{program}} instance
610
- enables journaling by default in 64-bit versions after v2.0.
609
+ Disables :doc:`/core/journaling`. :program:`mongod` enables
610
+ journaling by default.
611
+
612
+ Not available for mongod instances that use the
613
+ :doc:`in-memory storage engine </core/inmemory>`.
614
+
615
+ .. warning::
616
+
617
+ .. include:: /includes/warning-disable-journaling.rst
611
618
post : |
612
619
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
613
620
optional : true
Original file line number Diff line number Diff line change
1
+ When running :program: `mongod ` on a
2
+ :doc: `replica set </core/replica-set-members >` with the
3
+ WiredTiger :doc: `storage engine </core/storage-engines >`, if you
4
+ turn off journaling with the :option: `--nojournal ` option, you
5
+ should also set the replica set configuration option
6
+ :rsconf: `writeConcernMajorityJournalDefault ` to ``false ``.
You can’t perform that action at this time.
0 commit comments