Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Sharding A (10/09/15)
Description
This is a usability concern.
Most people when initiate a new replset just run rs.initate() and rely on the replSetInitiate code to generate a good default config for them, then they rs.add() their additional nodes after. Currently if you try that to initiate a CSRS you get:
> rs.initiate()
|
{
|
"info2" : "no configuration specified. Using a default configuration for the set",
|
"me" : "ubuntu:27019",
|
"ok" : 0,
|
"errmsg" : "Nodes started with the --configsvr flag must have configsvr:true in their config",
|
"code" : 93
|
}
|