Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
ALL
Description
When a replica set member is unreachable, the status reported is this:
{
"_id" : 0,
"name" : "localhost:30000",
"health" : 0,
"state" : 1,
"stateStr" : "(not reachable/healthy)",
"uptime" : 0,
"optime" :
,
"optimeDate" : ISODate("2011-02-16T17:32:19Z"),
"lastHeartbeat" : ISODate("2011-02-16T17:37:07Z"),
"errmsg" : "socket exception"
}
If the member is unreachable, should the state still be reported as 1? Shouldn't the state be 6 (unknown)?