-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.6.0-rc5
-
Component/s: Sharding
-
None
-
ALL
-
v3.6
-
Sharding 2017-12-04
I'm using the following configuration file to try to start up a config server to set up a sharded cluster:
net: bindIp: 0.0.0.0 port: 27017 ssl: mode: disabled processManagement: fork: "true" replication: replSetName: test sharding: clusterRole: configsvr storage: dbPath: data engine: wiredTiger wiredTiger: collectionConfig: blockCompressor: zlib systemLog: destination: file path: mongod.log
When I run with it I get:
$ mongod -f conf InvalidOptions: Cannot start a configsvr as a standalone server. Please start this node as a replica set using --replSet. try 'mongod --help' for more information
The reason is this commit from SERVER-32051, which requires --replSet to be passed in the command line but does not take into account a replication.replSetName entry in the config file.
- is related to
-
SERVER-32051 Require shard servers and config servers to be replica sets
- Closed