Skip to content

Commit 2bb4193

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

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
@@ -606,8 +606,15 @@ name: nojournal
606606
args: null
607607
directive: option
608608
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
611618
post: |
612619
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
613620
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)