Skip to content

DOCS-1407 mongos configdb option #1183

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
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
21 changes: 9 additions & 12 deletions source/reference/program/mongos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
``mongos``
==========


Synopsis
--------

Expand Down Expand Up @@ -198,22 +197,20 @@ Options
specify either 1 configuration server or 3 configuration servers,
in a comma separated list.

.. note::

:program:`mongos` instances read from the first :term:`config
server <config database>` in the list provided. All
:program:`mongos` instances **must** specify the hosts to the
:option:`--configdb` setting in the same order.
All
:program:`mongos` instances **must** specify the hosts to the
:option:`--configdb` setting in the same order.

If your configuration databases reside in more that one data
center, order the hosts in the :option:`--configdb` argument so
that the config database that is closest to the majority of your
:program:`mongos` instances is first servers in the list.
You can change the :option:`--configdb` configuration but only if all
:program:`mongos` and :term:`shards <shard>` are brought down and
then up with a new :option:`--configdb` string. Only the
:program:`mongos` and the shards keep track of this setting. The
config servers do not.

.. warning::

Never remove a config server from the :option:`--configdb` parameter, even if
the config server or servers are not available, or offline.
the config server or servers are not available or offline.

.. option:: --test

Expand Down