Skip to content

DOCS-10925: --nojournal option is deprecated for WiredTiger nodes in … #3096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions source/includes/extracts-manage-journaling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@ content: |
:setting:`~storage.journal.commitIntervalMs` for more information on
the default.
---
ref: journaling-enable-journaling
content: |
Enable Journaling
~~~~~~~~~~~~~~~~~

For 64-bit builds of :program:`mongod`, journaling is enabled by
default.

To enable journaling, start :program:`mongod` with the
:option:`--journal <mongod --journal>` command line option.
---
ref: journaling-disable-journaling
content: |
Disable Journaling
Expand All @@ -47,6 +36,8 @@ content: |
:term:`replica set` member or backup, as described in :doc:`repair
</tutorial/recover-data-following-unexpected-shutdown>`.

.. include:: /includes/wiredtiger-node-nojournal.rst

To disable journaling, start :program:`mongod` with the
:option:`--nojournal <mongod --nojournal>` command line option.
---
Expand Down
4 changes: 2 additions & 2 deletions source/includes/not-available-for-inmemory-storage-engine.rst
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Not available for :program:`mongod` instances that use the in-memory
storage engine.
Not available for :program:`mongod` instances that use the
:doc:`in-memory storage engine </core/inmemory>`.
6 changes: 4 additions & 2 deletions source/includes/options-mongod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,12 @@ name: nojournal
args: null
directive: option
description: |
Disables the durability journaling. The {{program}} instance
enables journaling by default in 64-bit versions after v2.0.
Disables :doc:`journaling </core/journaling>`. {{program}}
enables journaling by default.
post: |
.. include:: /includes/not-available-for-inmemory-storage-engine.rst

.. include:: /includes/wiredtiger-node-nojournal.rst
optional: true
---
program: mongod
Expand Down
3 changes: 1 addition & 2 deletions source/includes/options-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,7 @@ directive: option
description: |
{{intro}} the durability :term:`journal` to ensure data files remain valid
and recoverable. This option applies only when you specify the
:option:`--dbpath` option. The {{program}} enables journaling by default
on 64-bit builds of versions after 2.0.
:option:`--dbpath` option. {{program}} enables journaling by default.
optional: true
replacement:
intro: "Enables"
Expand Down
4 changes: 4 additions & 0 deletions source/includes/wiredtiger-node-nojournal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
:doc:`Replica set members </core/replica-set-members/>` which use the
WiredTiger :doc:`storage engine </core/storage-engines/>` should not
use the :option:`--nojournal` option. For more information about
journaling, see :doc:`/tutorial/manage-journaling`.
5 changes: 5 additions & 0 deletions source/release-notes/3.6-compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,11 @@ index keys.
To delete existing indexes named ``*``, delete the index before
upgrading. To rename them, delete and recreate the index.

``--nojournal`` Option with WiredTiger
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. include:: /includes/wiredtiger-node-nojournal.rst

Platform Support
----------------

Expand Down
2 changes: 0 additions & 2 deletions source/tutorial/manage-journaling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Manage Journaling
Procedures
----------

.. include:: /includes/extracts/journaling-enable-journaling.rst

.. include:: /includes/extracts/journaling-disable-journaling.rst

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