Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
2.7.0
-
None
-
ALL
-
Description
> conf = { _id:"nstunnel", "version" : 1, members:[ {_id:0, host:"127.0.0.1:27517"}, {_id:1, host:"127.0.0.1:27617"}, {_id:2, host:"127.0.0.1:27717"} ] }
|
{
|
"_id" : "nstunnel",
|
"version" : 1,
|
"members" : [
|
{
|
"_id" : 0,
|
"host" : "127.0.0.1:27517"
|
},
|
{
|
"_id" : 1,
|
"host" : "127.0.0.1:27617"
|
},
|
{
|
"_id" : 2,
|
"host" : "127.0.0.1:27717"
|
}
|
]
|
}
|
> rs.initiate(conf);
|
{
|
"ok" : 0,
|
"errmsg" : "couldn't initiate : can't find self in the replset config"
|
}
|
Attachments
Issue Links
- is related to
-
SERVER-4418 rs.initiate(); failed
-
- Closed
-
-
SERVER-4784 replSetInitiate without arguments breaks when hostname isn't resolvable
-
- Closed
-