Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
All
*Location*: https://docs.mongodb.com/manual/reference/program/mongod/#bin.mongod
*User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
*Referrer*: https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/
*Screen Resolution*: 1920 x 1080
Description
"--shardsvr
Required if starting a shard server.
Configures this mongod instance as a shard in a sharded cluster. The default port for these instances is 27018. The only effect of --shardsvr is to change the port number."
This description is сounterintuitive. At first it is stated that "--shardsvr" is required and then it is said that "the only effect" is the port number change. The last statement is not true as it is NOT the only effect - one cannot run a shard without this flag at all since 3.4!