Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
-
RPL 0 3/13/15
Description
The info2 message is confusing below.
> rs.initiate()
|
{
|
"info2" : "no configuration explicitly specified -- making one",
|
"me" : "pans-2.local:27017",
|
"info" : "try querying local.system.replset to see current configuration",
|
"ok" : 0,
|
"errmsg" : "already initialized",
|
"code" : 23
|
}
|
> rs.status()
|
{
|
"state" : 10,
|
"stateStr" : "REMOVED",
|
"uptime" : 1926,
|
"optime" : Timestamp(1417805047, 1),
|
"optimeDate" : ISODate("2014-12-05T18:44:07Z"),
|
"replCoord" : "impl",
|
"ok" : 0,
|
"errmsg" : "Our replica set config is invalid or we are not a member of it",
|
"code" : 93
|
}
|
> db.isMaster()
|
{
|
"ismaster" : false,
|
"secondary" : false,
|
"info" : "Does not have a valid replica set config",
|
"isreplicaset" : true,
|
"rbid" : 1325014456,
|
"maxBsonObjectSize" : 16777216,
|
"maxMessageSizeBytes" : 48000000,
|
"maxWriteBatchSize" : 1000,
|
"localTime" : ISODate("2014-12-09T01:53:48.191Z"),
|
"maxWireVersion" : 3,
|
"minWireVersion" : 0,
|
"ok" : 1
|
}
|
|
|