Skip to content

Commit 4a3e898

Browse files
ianf-mongodbjeff-allen-mongo
authored andcommitted
DOCSP-17862 mongod standalone changes
1 parent 4c563f1 commit 4a3e898

File tree

3 files changed

+33
-12
lines changed

3 files changed

+33
-12
lines changed

source/reference/configuration-options.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4246,11 +4246,19 @@ LDAP Parameters
42464246

42474247
- Start this instance as a :term:`config server`. The instance
42484248
starts on port ``27019`` by default.
4249-
4249+
4250+
When you configure a MongoDB instance as
4251+
clusterRole ``configsvr`` you must also specify a
4252+
:setting:`~replication.replSetName`.
4253+
42504254
* - ``shardsvr``
42514255

42524256
- Start this instance as a :term:`shard`. The instance starts
42534257
on port ``27018`` by default.
4258+
4259+
When you configure a MongoDB instance as a
4260+
a clusterRole ``shardsvr`` you must also specify a
4261+
:setting:`~replication.replSetName`.
42544262

42554263

42564264
.. note::

source/reference/program/mongod.txt

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,14 +1898,16 @@ Sharded Cluster Options
18981898
``/data/configdb``, unless specified.
18991899

19001900
.. important::
1901-
1902-
Starting in 3.4, you must deploy config servers as a replica set.
1903-
The use of the deprecated mirrored :binary:`~bin.mongod` instances as
1904-
config servers (SCCC) is no longer supported.
1905-
1906-
The replica set config servers (CSRS) must run the
1907-
:doc:`WiredTiger storage engine </core/wiredtiger>`.
1908-
1901+
1902+
When starting a MongoDB server with ``--configsvr``, you must also
1903+
specify a :option:`--replSet <mongod --replSet>`.
1904+
1905+
The use of the deprecated mirrored :binary:`~bin.mongod` instances as
1906+
config servers (SCCC) is no longer supported.
1907+
1908+
The replica set config servers (CSRS) must run the
1909+
:doc:`WiredTiger storage engine </core/wiredtiger>`.
1910+
19091911
The :option:`--configsvr` option creates a local :term:`oplog`.
19101912

19111913
Do not use the :option:`--configsvr` option with :option:`--shardsvr`. Config
@@ -1945,9 +1947,9 @@ Sharded Cluster Options
19451947
``27018``.
19461948

19471949
.. important::
1948-
1949-
Starting in MongoDB 3.6, you must deploy shards as replica sets. See the :option:`--replSet`
1950-
option to deploy :program:`mongod` as part of a replica set.
1950+
1951+
When starting a MongoDB server with ``--shardsvr``, you must also
1952+
specify a :option:`--replSet <mongod --replSet>`.
19511953

19521954
Do not use the :option:`--shardsvr` with the
19531955
:parameter:`skipShardingConfigurationChecks` parameter. That is, if

source/release-notes/5.1.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,17 @@ determines whether the temporary documents required for :ref:`retryable
134134
<retryable-writes>` :dbcommand:`findAndModify` commands are stored in
135135
the *side* collection (``config.image_collection``).
136136

137+
``Mongod`` Sharded Cluster And Config Server Changes
138+
----------------------------------------------------
139+
140+
Starting in MongoDB 5.1, when starting a :binary:`mongod` with the
141+
:option:`--configsvr <mongod--configsvr>` option you must also
142+
specify a :option:`--replSet <mongod --replSet>`.
143+
144+
Starting in MongoDB 5.1, when starting a :binary:`mongod` with the
145+
:option:`--shardsvr <mongod --shardsvr>` option you must also
146+
specify a :option:`--replSet <mongod --replSet>`.
147+
137148
Report an Issue
138149
---------------
139150

0 commit comments

Comments
 (0)