Skip to content

Commit b3e9f87

Browse files
steverenkay-kim
authored andcommitted
DOCS-10928: --nojournal option warning for manual v3.2
1 parent a06b5f8 commit b3e9f87

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

source/includes/extracts-manage-journaling.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ content: |
4747
:term:`replica set` member or backup, as described in :doc:`repair
4848
</tutorial/recover-data-following-unexpected-shutdown>`.
4949
50+
.. include:: /includes/warning-disable-journaling.rst
51+
5052
To disable journaling, start :program:`mongod` with the
5153
:option:`--nojournal <mongod --nojournal>` command line option.
5254
---

source/includes/options-mongod.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,15 @@ name: nojournal
666666
args: null
667667
directive: option
668668
description: |
669-
Disables the durability journaling. The {{program}} instance
670-
enables journaling by default in 64-bit versions after v2.0.
669+
Disables :doc:`/core/journaling`. :program:`mongod` enables
670+
journaling by default.
671+
672+
Not available for mongod instances that use the
673+
:doc:`in-memory storage engine </core/inmemory>`.
674+
675+
.. warning::
676+
677+
.. include:: /includes/warning-disable-journaling.rst
671678
post: |
672679
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
673680
optional: true
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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``.

0 commit comments

Comments
 (0)