Skip to content

DOCS-10928: --nojournal option warning for manual v3.4 #3126

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 1 commit into from
Nov 29, 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
2 changes: 2 additions & 0 deletions source/includes/extracts-manage-journaling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ content: |
:term:`replica set` member or backup, as described in :doc:`repair
</tutorial/recover-data-following-unexpected-shutdown>`.

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

To disable journaling, start :program:`mongod` with the
:option:`--nojournal <mongod --nojournal>` command line option.
---
Expand Down
11 changes: 9 additions & 2 deletions source/includes/options-mongod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,15 @@ 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:`/core/journaling`. :program:`mongod` enables
journaling by default.

Not available for mongod instances that use the
:doc:`in-memory storage engine </core/inmemory>`.

.. warning::

.. include:: /includes/warning-disable-journaling.rst
post: |
.. include:: /includes/not-available-for-inmemory-storage-engine.rst
optional: true
Expand Down
6 changes: 6 additions & 0 deletions source/includes/warning-disable-journaling.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
When running :program:`mongod` on a
:doc:`replica set </core/replica-set-members>` with the
WiredTiger :doc:`storage engine </core/storage-engines>`, if you
turn off journaling with the :option:`--nojournal` option, you
should also set the replica set configuration option
:rsconf:`writeConcernMajorityJournalDefault` to ``false``.