Unreachable replica set member has a state of 1

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.9.0
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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" :

      { "t" : 1297877539000, "i" : 1 }

      ,
      "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)?

            Assignee:
            Kristina Chodorow (Inactive)
            Reporter:
            Kyle Banker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: