Skip to content

DOCS-4144: Remove --moveParanoia, update sharding.archiveMovedChunks #2051

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

Closed
wants to merge 1 commit into from
Closed
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
4 changes: 4 additions & 0 deletions source/faq/sharding.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ Yes. :program:`mongod` creates these files as backups during normal

Once these migrations are complete, you may delete these files.

You can determine if all migrations are complete by running the
:method:`sh.isBalancerRunning()` command while connected to a
:program:`mongos` instance.

How does ``mongos`` use connections?
------------------------------------

Expand Down
17 changes: 11 additions & 6 deletions source/includes/options-conf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ description: |
A fully qualified server domain name for the purpose of configuring SASL
and Kerberos authentication. The SASL hostname overrides the hostname
only for the configuration of SASL and Kerberos.

For :program:`mongo` shell and other MongoDB tools to connect to
the new :setting:`~security.sasl.hostName`, see the
``gssapiHostName`` option in the :program:`mongo` shell and other
Expand Down Expand Up @@ -923,12 +923,17 @@ post: |
---
program: conf
name: sharding.archiveMovedChunks
type: integer
type: boolean
directive: setting
inherit:
name: moveParanoia
program: mongod
file: options-mongod.yaml
description: |
.. versionadded:: 2.4

.. versionchanged:: 2.6 {{role}} is now the default behavior of MongoDB.

When true, the {{role}} option forces the :program:`mongod` instances to save
all documents migrated from this shard during chunk migrations to the
``moveChunk`` directory of the :setting:`storage.dbPath`. MongoDB does not
delete data stored in ``moveChunk``.
---
program: conf
name: auditLog.destination
Expand Down
17 changes: 1 addition & 16 deletions source/includes/options-mongod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ default: |
``/data/db`` on Linux and OS X, ``\data\db`` on Windows
directive: option
description: |
The directory where the {{program}} instance stores its data.
The directory where the {{program}} instance stores its data.

If you
installed MongoDB using a package management system, check the
Expand Down Expand Up @@ -1082,21 +1082,6 @@ description: |
optional: true
---
program: mongod
name: moveParanoia
args: null
directive: option
description: |
.. versionadded:: 2.4

During chunk migrations, the {{role}} option forces the
:program:`mongod` instances to save to the ``moveChunk`` directory of
the :setting:`storage.dbPath` all the documents migrated from this
shard. MongoDB does not delete data stored in ``moveChunk``.

Prior to 2.4, {{role}} was the default behavior of MongoDB.
optional: true
---
program: mongod
name: sslOnNormalPorts
args: null
directive: option
Expand Down
2 changes: 0 additions & 2 deletions source/reference/program/mongod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ Sharded Cluster Options

.. include:: /includes/option/option-mongod-shardsvr.rst

.. include:: /includes/option/option-mongod-moveParanoia.rst

SSL Options
~~~~~~~~~~~

Expand Down