Skip to content

Commit 247178f

Browse files
steverenkay-kim
authored andcommitted
DOCS-10925: --nojournal option is deprecated for WiredTiger nodes in a replica set
1 parent 2893122 commit 247178f

File tree

6 files changed

+13
-19
lines changed

6 files changed

+13
-19
lines changed

source/includes/extracts-manage-journaling.yaml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,6 @@ content: |
2121
:setting:`~storage.journal.commitIntervalMs` for more information on
2222
the default.
2323
---
24-
ref: journaling-enable-journaling
25-
content: |
26-
Enable Journaling
27-
~~~~~~~~~~~~~~~~~
28-
29-
For 64-bit builds of :program:`mongod`, journaling is enabled by
30-
default.
31-
32-
To enable journaling, start :program:`mongod` with the
33-
:option:`--journal <mongod --journal>` command line option.
34-
---
3524
ref: journaling-disable-journaling
3625
content: |
3726
Disable Journaling
@@ -47,6 +36,8 @@ content: |
4736
:term:`replica set` member or backup, as described in :doc:`repair
4837
</tutorial/recover-data-following-unexpected-shutdown>`.
4938
39+
.. include:: /includes/wiredtiger-node-nojournal.rst
40+
5041
To disable journaling, start :program:`mongod` with the
5142
:option:`--nojournal <mongod --nojournal>` command line option.
5243
---
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Not available for :program:`mongod` instances that use the in-memory
2-
storage engine.
1+
Not available for :program:`mongod` instances that use the
2+
:doc:`in-memory storage engine </core/inmemory>`.

source/includes/options-mongod.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,10 +638,12 @@ name: nojournal
638638
args: null
639639
directive: option
640640
description: |
641-
Disables the durability journaling. The {{program}} instance
642-
enables journaling by default in 64-bit versions after v2.0.
641+
Disables :doc:`journaling </core/journaling>`. {{program}}
642+
enables journaling by default.
643643
post: |
644644
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
645+
646+
.. include:: /includes/wiredtiger-node-nojournal.rst
645647
optional: true
646648
---
647649
program: mongod

source/includes/options-shared.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,8 +429,7 @@ directive: option
429429
description: |
430430
{{intro}} the durability :term:`journal` to ensure data files remain valid
431431
and recoverable. This option applies only when you specify the
432-
:option:`--dbpath` option. The {{program}} enables journaling by default
433-
on 64-bit builds of versions after 2.0.
432+
:option:`--dbpath` option. {{program}} enables journaling by default.
434433
optional: true
435434
replacement:
436435
intro: "Enables"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
:doc:`Replica set members </core/replica-set-members/>` which use the
2+
WiredTiger :doc:`storage engine </core/storage-engines/>` should not
3+
use the :option:`--nojournal` option. For more information about
4+
journaling, see :doc:`/tutorial/manage-journaling`.

source/tutorial/manage-journaling.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ Manage Journaling
1515
Procedures
1616
----------
1717

18-
.. include:: /includes/extracts/journaling-enable-journaling.rst
19-
2018
.. include:: /includes/extracts/journaling-disable-journaling.rst
2119

2220
.. include:: /includes/extracts/journaling-get-commit-acknowledgement.rst

0 commit comments

Comments
 (0)